User:Timdream/forms.js requirements: Difference between revisions

→‎Focus management: note on (6) and (7)
(→‎Focus management: submit/pagehide/beforeunload)
(→‎Focus management: note on (6) and (7))
Line 33: Line 33:


(5) The way to reduce blur-then-focus events to one focus event is implemented by schedule the event sending function to the end of the event queue [https://hg.mozilla.org/mozilla-central/file/7723b15ea695/dom/inputmethod/forms.js#l685 L685] and [https://hg.mozilla.org/mozilla-central/file/7723b15ea695/dom/inputmethod/forms.js#l700 L700]. '''We should be able to safely remove this feature''' since System app and Keyboard app has the safeguard in place anyway, as we did not reduce two events when focus moved between processes.
(5) The way to reduce blur-then-focus events to one focus event is implemented by schedule the event sending function to the end of the event queue [https://hg.mozilla.org/mozilla-central/file/7723b15ea695/dom/inputmethod/forms.js#l685 L685] and [https://hg.mozilla.org/mozilla-central/file/7723b15ea695/dom/inputmethod/forms.js#l700 L700]. '''We should be able to safely remove this feature''' since System app and Keyboard app has the safeguard in place anyway, as we did not reduce two events when focus moved between processes.
(6) Is never implemented, but we should issue a new InputContext when this happens (or dispatch *change event and keep the same InputContext?)
(7) Has caused issue like {bug|1122463} (combine w/ (5)).


==== Issues ====
==== Issues ====
Confirmed users
478

edits