forked from mirrors/gecko-dev
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 |
||
|---|---|---|
| .. | ||
| img | ||
| onboarding-tour-agent.js | ||
| onboarding.css | ||
| onboarding.js | ||