Bug 33161 - Assertion failure in WebView when using Chinese Simplified IME
Summary: Assertion failure in WebView when using Chinese Simplified IME
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit Misc. (show other bugs)
Version: 528+ (Nightly build)
Hardware: PC Windows Vista
: P2 Normal
Assignee: Alexey Proskuryakov
Depends on:
Reported: 2010-01-04 10:57 PST by Alexey Proskuryakov
Modified: 2010-01-04 13:31 PST (History)
0 users

See Also:

proposed patch (1.49 KB, patch)
2010-01-04 13:22 PST, Alexey Proskuryakov
darin: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Alexey Proskuryakov 2010-01-04 10:57:25 PST
This assertion always fails because IME asks for an out of bounds character position:

    ASSERT(charPos->dwCharPos == 0 || targetFrame->editor()->hasComposition());

We can't make assertions about IME request arguments, as we don't control their values.
Comment 1 Alexey Proskuryakov 2010-01-04 13:22:34 PST
Created attachment 45824 [details]
proposed patch
Comment 2 Alexey Proskuryakov 2010-01-04 13:31:11 PST
Committed <http://trac.webkit.org/changeset/52755>.