RESOLVED INVALID 24839
HTMLCollection prototype problem
https://bugs.webkit.org/show_bug.cgi?id=24839
Summary HTMLCollection prototype problem
bugzilla33
Reported 2009-03-26 02:07:13 PDT
1. Run HTMLCollection.html from attachement or from URL 2. Should alert value: 2 3. Try on IE 8.0 - works perfect
Attachments
source (669 bytes, text/html)
2009-03-26 02:08 PDT, bugzilla33
no flags
bugzilla33
Comment 1 2009-03-26 02:08:02 PDT
Sam Weinig
Comment 2 2009-03-26 07:12:07 PDT
I believe our behavior is correct as the getElementsByTagName function returns a NodeList and not a HTMLCollection, so modifying the prototype of HTMLCollection is not supposed to work.
bugzilla33
Comment 3 2009-03-26 08:58:42 PDT
OK, Konqueror, Opera, Chrome also return a a NodeList not a HTMLCollection.
Note You need to log in before you can comment on or make changes to this bug.