GNOME Bugzilla – Bug 144476
Escape button doesn't work with javascript event ONKEYDOWN
Last modified: 2004-12-22 21:47:04 UTC
Epiphany, doesn't pass the Escape keyboard key with the javascript event ONKEYDOWN. Most other keys work though. I first thought this was a GNOME thing, that ESC was reserved. However I have checked the keybindings for GNOME and Metacity and haven't found anything that reserves ESC. It's also noteworthy that ONKEYUP works, as you can see in the example after having pressed '1'. The character code of the pressed key is supposed to display as "document title".
Created attachment 28768 [details] Test page Here's the example. I also forgot to mention I tested with the Mozilla browser and there wawsn't this problem.
Esc is bound to View->Stop, maybe that's what's swallwing the keypress? (If so, that's the same problem as in bug 108094 and bug 113449, i.e. that accelerators have precedence).
*** This bug has been marked as a duplicate of 113449 ***
You're right. I missed that. It's a little funny though, that it works with ONKEYUP but not ONKEYDOWN.