Turn designMode on and then off could still receive "composition" event

RESOLVED INACTIVE

Status

()

Core
Editor
P3
normal
RESOLVED INACTIVE
2 years ago
2 days ago

People

(Reporter: Ya-Chieh Wu (inactive), Unassigned)

Tracking

({inputmethod})

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Reporter)

Description

2 years ago
Created attachment 8776789 [details]
text.html

User-Agent: 
  firefox nightly 51.0a1 on mac 10.11.6
  firefox 47.0 on mac 10.11.6

When trying to turn designMode on and then off, I can still be able to receive "composition" event. And firefox 47 works fine but firefox nightly 51.0a1 works weird.
 
Reproducible: Always

Steps to Reproduce:
1.Type in with IME and you can see the text field below the button is updated.
2.Click the button to turn off the designMode 
3.Keep typing with IME and you will see the text field below the button updated.

Expected Results: 
when the designMode is off, gecko shouldn't send "composition" event to window.
Maybe, nsHTMLDocument::EditingStateChanged or nsEditSession::TearDownEditorOnWindow should commit current composition.

Updated

2 years ago
Keywords: inputmethod

Updated

2 years ago
Priority: -- → P3

Comment 2

2 days ago
Per policy at https://wiki.mozilla.org/Bug_Triage/Projects/Bug_Handling/Bug_Husbandry#Inactive_Bugs. If this bug is not an enhancement request or a bug not present in a supported release of Firefox, then it may be reopened.
Status: NEW → RESOLVED
Last Resolved: 2 days ago
Resolution: --- → INACTIVE
You need to log in before you can comment on or make changes to this bug.