|Summary:||document.all.item(someString) doesn't work|
|Product:||WebKit||Reporter:||Jared Roussel <jroussel>|
|Severity:||Normal||CC:||ap, jroussel, mitz|
|OS:||OS X 10.4|
Description Jared Roussel 2006-09-28 09:52:49 PDT
There are a few sites that I've noticed so far that won't post the form when the submit button is pressed using Safari. I have noticed three instances of this so far. One is on eBay when you want to add another category to your sell listing, one is during a session of an account I login to, but most importantly, a verifiable and specific one is at http://dnb.com/globalsignin/forgetpassword.asp. The submit button will just not post the form on Safari. I've noticed that all of the sites in these examples are ASP pages.
Comment 1 mitz 2006-09-29 06:05:56 PDT
Comment 3 mitz 2007-01-08 15:17:42 PST
Created attachment 12313 [details] Make item() fall back to namedItem() This patches implements Firefox's behavior. IE apparently does not try to convert strings to numbers, making it fail the first case in the attached layout test.
Comment 4 Darin Adler 2007-01-08 20:19:45 PST
Comment on attachment 12313 [details] Make item() fall back to namedItem() r=me
Comment 5 Alexey Proskuryakov 2007-01-08 21:56:36 PST
Do we need a similar quirk in other item() methods (e.g., HTMLSelectElement::item()?) + return toJS(exec,coll.item(index)); Should have a space after a comma.
Comment 6 Alexey Proskuryakov 2007-01-09 09:55:46 PST
Comment on attachment 12313 [details] Make item() fall back to namedItem() Committed revision 18715. Mitz has suggested leaving this bug open as a reminder to research the behavior of other item() methods. Clearing the review flag from a landed patch.
Comment 7 Alexey Proskuryakov 2007-01-11 21:42:24 PST
Comment 8 Eric Seidel (no email) 2007-10-01 09:14:34 PDT
Hum... unfortunately leaving a bug open after landing the patch means that it appears in the "forgotten bugs" queue. Perhaps there could be a new bug to cover any remaining issues in item() and this could be closed?
Comment 9 Alexey Proskuryakov 2010-06-11 16:33:52 PDT
Obviously, this bug didn't serve as a good reminder, but it's still wrong to have the quirk in only one version of item().