WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
191721
Shift-Esc, or CapsLock-Esc, dispatches excessive keydown events
https://bugs.webkit.org/show_bug.cgi?id=191721
Summary
Shift-Esc, or CapsLock-Esc, dispatches excessive keydown events
Ivan Reese
Reported
2018-11-15 15:30:24 PST
1) Navigate to about:blank 2) Open the console 3) run: window.addEventListener("keydown", function(e) { console.log(e)}) 4) Compare the number of events fired when using Esc on its own versus Shift-Esc or Esc while CapsLock is on On one of my sites, I get double Esc events when doing Shift/Caps-Esc. On about:blank, I get hundreds of extra events per frame. Firefox and Chrome don't exhibit this behaviour — they generate one event per key press (ignoring, of course, key repeat). Also had a friend repro this on a different machine, same issue. Affects current release of Safari (12.0.1, 14606.104.1.1) and Safari TP (r70, 12.1, 14607.1.13). Couldn't get WK nightly to launch, so I can't check there. Thanks for all your hard word, WebKit team!
Attachments
Add attachment
proposed patch, testcase, etc.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug