Bug 13916

Summary: JavaScript detects Tab as a character input on a textfield validation
Product: WebKit Reporter: Rodrigo Recio <rjrecio>
Component: HTML EditingAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: ap
Priority: P2 Keywords: HasReduction
Version: 523.x (Safari 3)   
Hardware: Mac   
OS: OS X 10.4   
URL: http://www.bradesco.com.br
Attachments:
Description Flags
reduction none

Description Rodrigo Recio 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.
Comment 1 David Kilzer (:ddkilzer) 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.

Comment 2 David Kilzer (:ddkilzer) 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

Comment 3 Alexey Proskuryakov 2007-06-24 01:26:52 PDT
See also: bug 13031.
Comment 4 Alexey Proskuryakov 2007-12-03 03:14:41 PST
Created attachment 17673 [details]
reduction
Comment 5 Alexey Proskuryakov 2007-12-03 03:15:44 PST
Working on a fix.
Comment 6 Alexey Proskuryakov 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.