RESOLVED FIXED 13916
JavaScript detects Tab as a character input on a textfield validation
https://bugs.webkit.org/show_bug.cgi?id=13916
Summary JavaScript detects Tab as a character input on a textfield validation
Rodrigo Recio
Reported 2007-05-29 19:57:01 PDT
Fill the "conta" textfield in the top of the page with 4 numbers (0000) then hit Tab to go to next textfield, then an alert will be shown saying that you must type only numbers.
Attachments
reduction (854 bytes, text/html)
2007-12-03 03:14 PST, Alexey Proskuryakov
no flags
David Kilzer (:ddkilzer)
Comment 1 2007-05-29 21:16:21 PDT
Confirmed with a local debug build of WebKit r21856 with Safari 2.0.4 (419.3) on Mac OS X 10.4.9 (8P135). Also occurs with shipping Safari on Tiger (see versions above). Not only does it intercept tabs, but also Cmd-W and Cmd-Q! Works in Firefox 2.0.0.3 (tab, Cmd-W and Cmd-Q). Needs a reduction to determine if this is actually a WebKit bug or whether the site needs evangelism.
David Kilzer (:ddkilzer)
Comment 2 2007-05-29 21:20:30 PDT
Note there are error messages printed to the JavaScript Console when loading this page: Unsafe JavaScript attempt to access frame with URL http://www.bradesco.com.br/ from frame with URL http://institucional.bradesco.com.br/relogio/relogio.html. Domains must match. Line 1
Alexey Proskuryakov
Comment 3 2007-06-24 01:26:52 PDT
See also: bug 13031.
Alexey Proskuryakov
Comment 4 2007-12-03 03:14:41 PST
Created attachment 17673 [details] reduction
Alexey Proskuryakov
Comment 5 2007-12-03 03:15:44 PST
Working on a fix.
Alexey Proskuryakov
Comment 6 2007-12-11 11:17:08 PST
Fixed in revision 28620 - we now match IE and no longer dispatch keypress when tabbing between input fields.
Note You need to log in before you can comment on or make changes to this bug.