Open Bug 1163311 Opened 10 years ago Updated 3 years ago

test_backspace_delete.xul fails if IME requests to query content at selection change

Categories

(Core :: DOM: Editor, defect)

defect

Tracking

()

Tracking Status
firefox40 --- affected

People

(Reporter: masayuki, Unassigned)

References

Details

(Keywords: inputmethod)

Attachments

(1 file)

I hit this bug when I work on bug 1130935. On some platforms, IME needs selection change notification (e.g., when moving caret even if there is no composition). Then, IME may try to query our editor content synchronously. With such case, layout/generic/test/test_backspace_delete.xul fails. > 2499 INFO TEST-UNEXPECTED-FAIL | layout/generic/test/test_backspace_delete.xul | Delete broken in "اهلاhello", offset 4 with deleteImmediately=false - got اهلاhello, expected اهلاello > 2503 INFO TEST-UNEXPECTED-FAIL | layout/generic/test/test_backspace_delete.xul | Backspace broken in "اهلاhello", offset 4 with deleteImmediately=false - got اهلاhello, expected اهلاello The failure part must be: http://mxr.mozilla.org/mozilla-central/source/layout/generic/test/test_backspace_delete.xul?mark=242-243#231 In e10s mode, puppet widget tries to query selection range at every selection change. So, this must be a cause of failure of this test in e10s mode. smontagu: Do you have any idea for this?
Flags: needinfo?(smontagu)
smontagu: If you're busy and you cannot investigate this for now, I'll disable the test or make the checks todo_is since the orange does detect existing bug or is just a bug of the test. Anyway, fixing bug 1130935 is more important for now.
Disabling the test in e10s mode is fine.
Flags: needinfo?(smontagu)
(In reply to Simon Montagu :smontagu from comment #2) > Disabling the test in e10s mode is fine. Not only in e10s mode. The orange becomes permanent even in non-e10s mode if we land the patches of bug 1130935 or when I run the test on my environment even without the patches. That means that the orange case doesn't work as expected with some IME or keyboard layouts already.
Flags: needinfo?(smontagu)
OK, so I agree that bug 1130935 is more important. Please mark the test as failing with a reference to this bug, and I'll look for a fix.
Assignee: nobody → smontagu
Flags: needinfo?(smontagu)

The bug assignee didn't login in Bugzilla in the last 7 months, so the assignee is being reset.

Assignee: smontagu → nobody
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: