WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
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
Details
View All
Add attachment
proposed patch, testcase, etc.
bugzilla33
Comment 1
2009-03-26 02:08:02 PDT
Created
attachment 28965
[details]
source
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.
Top of Page
Format For Printing
XML
Clone This Bug