Closed Bug 953044 Opened 6 years ago Closed 6 years ago

Calling setInputMethodActive(false) before mozbrowser content loaded always fails

Categories

(Core :: DOM: Core & HTML, defect)

x86_64
Linux
defect
Not set

Tracking

()

RESOLVED FIXED
mozilla29

People

(Reporter: xyuan, Assigned: xyuan)

References

Details

Attachments

(1 file, 1 obsolete file)

Firefox OS input method apps will be loaded within mozbrowser iframes. To deactivate the iframe of an input method app, we should call setInputMethodActive(false) on the iframe.

By default, the iframe is deactivated before loading. So calling setInputMethodActive(false) before input method loading should always succeed. But a typo in bug 944397 makes it always fail.
Attached patch setInputMethodActive-false.patch (obsolete) — Splinter Review
Fix the typo and augment the mochitest for bug 944397 to cover this bug.
Assignee: nobody → xyuan
Status: NEW → ASSIGNED
Attachment #8351345 - Flags: review?(kchen) → review?(fabrice)
Attachment #8351345 - Flags: review?(fabrice) → review+
@Fabrice, thank you:)
Keywords: checkin-needed
https://hg.mozilla.org/mozilla-central/rev/06ed6a389d3b
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla29
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.