RESOLVED DUPLICATE of bug 14547 33716
typeof returns "function" for NodeList
https://bugs.webkit.org/show_bug.cgi?id=33716
Summary typeof returns "function" for NodeList
Yury Semikhatsky
Reported 2010-01-15 05:50:23 PST
Created attachment 46676 [details] Test case In WebKit typeof returns "function" for document.documentElement.childNodes and other DOM properties whose value is a NodeList. It should be "object" as in Firefox and Chromium. Test is attached.
Attachments
Test case (218 bytes, text/html)
2010-01-15 05:50 PST, Yury Semikhatsky
no flags
Yury Semikhatsky
Comment 1 2010-01-15 06:24:46 PST
(In reply to comment #0) > Created an attachment (id=46676) [details] > Test case > > In WebKit typeof returns "function" for document.documentElement.childNodes and > other DOM properties whose value is a NodeList. It should be "object" as in > Firefox and Chromium. > > Test is attached. typeof document.all is always 'undefined'
Alexey Proskuryakov
Comment 2 2010-01-15 13:41:47 PST
*** This bug has been marked as a duplicate of bug 14547 ***
Note You need to log in before you can comment on or make changes to this bug.