Summary: | typeof returns "function" for NodeList | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Yury Semikhatsky <yurys> | ||||
Component: | WebCore JavaScript | Assignee: | Nobody <webkit-unassigned> | ||||
Status: | RESOLVED DUPLICATE | ||||||
Severity: | Normal | ||||||
Priority: | P2 | ||||||
Version: | 528+ (Nightly build) | ||||||
Hardware: | PC | ||||||
OS: | OS X 10.5 | ||||||
Attachments: |
|
(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' |
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.