fune/browser/extensions/onboarding/content
Masayuki Nakano bce749c8e1 Bug 1441144 - Make browser/extensions/onboarding/content/onboarding.js handle non-printable keys with "keydown" event listener rather than "keypress" event listener r=mossop
We'll stop dispatching "keypress" event for non-printable keys and key
combinations in the default event group of web content.  Therefore,
onbording.js needs to stop handling some keys with "keypress" event listener.

This patch makes add a "keydown" event listener, handleKeydown(), and make it
handle only non-printable keys.  Note that we'll keep dispatching "keypress"
event for " " and "Enter".  So, we can keep handling them in "keypress"
event listener.

MozReview-Commit-ID: 1jFIv9N03fa

--HG--
extra : rebase_source : 8acabac7ae5c06b527a9fad0fb0fb7b3a2cc5a61
2018-02-26 22:37:11 +09:00
..
img Bug 1414721 - Colors of Onboarding nav icons are inconsistent, r=gasolin 2017-11-09 11:11:50 +08:00
onboarding-tour-agent.js Bug 1420193 - Add Connect Another Device button to Sync onboarding panel. r=markh,mossop 2017-11-23 12:17:37 -05:00
onboarding.css Bug 1420193 - Add Connect Another Device button to Sync onboarding panel. r=markh,mossop 2017-11-23 12:17:37 -05:00
onboarding.js Bug 1441144 - Make browser/extensions/onboarding/content/onboarding.js handle non-printable keys with "keydown" event listener rather than "keypress" event listener r=mossop 2018-02-26 22:37:11 +09:00