mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-16 14:55:47 +00:00
26910d70ce
I think that the crashtests marked as `needs-focus` should wait `focus` event in the document. I think that `focus` event is fired only when the window has focus (*1) and `Element.focus()` steals focus unless chrome UI has focus (*2). If the testing document hasn't get focus yet, `focus` event will be dispatched later (*3). 1: https://searchfox.org/mozilla-central/rev/d8d7539593d5a3071841289dee72f971650073ce/dom/base/nsFocusManager.cpp#1672-1681 2: https://searchfox.org/mozilla-central/rev/d8d7539593d5a3071841289dee72f971650073ce/dom/base/nsFocusManager.cpp#1683-1691 3: https://searchfox.org/mozilla-central/rev/d8d7539593d5a3071841289dee72f971650073ce/dom/base/nsFocusManager.cpp#759-777 Depends on D125920 Differential Revision: https://phabricator.services.mozilla.com/D125921 |
||
---|---|---|
.. | ||
composer | ||
docs | ||
libeditor | ||
reftests | ||
spellchecker | ||
txmgr | ||
AsyncSpellCheckTestHelper.jsm | ||
moz.build | ||
nsIDocumentStateListener.idl | ||
nsIEditActionListener.idl | ||
nsIEditor.idl | ||
nsIEditorMailSupport.idl | ||
nsIEditorSpellCheck.idl | ||
nsIHTMLAbsPosEditor.idl | ||
nsIHTMLEditor.idl | ||
nsIHTMLInlineTableEditor.idl | ||
nsIHTMLObjectResizer.idl | ||
nsITableEditor.idl |