Summary: | JavaScript Form Validation issue on Banco do Brasil site | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Rodrigo Recio <rjrecio> | ||||
Component: | Forms | Assignee: | Alexey Proskuryakov <ap> | ||||
Status: | RESOLVED FIXED | ||||||
Severity: | Major | CC: | ap, rjrecio | ||||
Priority: | P2 | ||||||
Version: | 523.x (Safari 3) | ||||||
Hardware: | Mac (Intel) | ||||||
OS: | OS X 10.4 | ||||||
URL: | https://www2.bancobrasil.com.br/aapf/aai/login.pbk | ||||||
Attachments: |
|
Description
Rodrigo Recio
2007-05-11 22:55:40 PDT
Is it possible to verify this issue without having an account in this bank? Could you please provide detailed steps to reproduce? Most importantly, does this happen with nightly WebKit builds? You can get one from <http://nightly.webkit.org>. Yes, that's it.. go to the URL above and and try to fill numbers in "AgĂȘncia" and "Conta" fields, if you type 12345 it should appear 1234-5 (like in other browsers), but in webkit it shows 12345-, and in "Conta" field if you try to use backspace (to delete 12345) it will delete 1234 (not 5). Sorry about the lack of instructions. Well, this happened with yesterday's nightly build, I see that is a new one this morning! :) Confirmed with r21427 nightly. Thank you for the additional information! Created attachment 14533 [details]
proposed fix
The behavior of setValue for active text input fields didn't match other browsers, and it has actually regressed for inactive fields (the latter problem didn't affect this particular site, though).
Comment on attachment 14533 [details]
proposed fix
+ cachedSelStart = cachedSelEnd = max;
We normally try to stay away from these multiple assignment statements.
r=me
Committed revision 21448.
> We normally try to stay away from these multiple assignment statements.
Fixed.
|