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.
You need to log in before you can comment on or make changes to this bug.