[Webkit-unassigned] [Bug 25147] New: ESC Key does not fire onkeypress. Keycode 27. Regression error.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Apr 11 19:51:01 PDT 2009


https://bugs.webkit.org/show_bug.cgi?id=25147

           Summary: ESC Key does not fire onkeypress.  Keycode 27.
                    Regression error.
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Macintosh
               URL: http://bogojoker.com/webkit/keypress_test.html
        OS/Version: Mac OS X 10.5
            Status: UNCONFIRMED
          Severity: Major
          Priority: P2
         Component: JavaScriptCore
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: joepeck02 at gmail.com


The ESC Key does not register the onkeypress function in the Webkit Nightly. 
It does in the Safari 4 beta, and previous versions of Safari.  This is a
regression error.

Steps to reproduce:

1. Load the attached test file, or just go to the following URL with the test
page:
http://bogojoker.com/webkit/keypress_test.html
Javascript is set to show the keypress, keydown, and keyup events in textareas
and the console for both Webkit and Firefox (so you can easily compare).

2. Press any key you want.  Observe that ESC does not show up in the Webkit
Nightly.  It does in Safari 4 beta (correctly as 27).  Firefox's output is
often 0 for keypress, but correct for ESC because it is a "non-character key."


-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list