[Webkit-unassigned] [Bug 14547] New: typeof document.body.childNodes=="function" ("object" expected)
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Sat Jul 7 04:44:22 PDT 2007
http://bugs.webkit.org/show_bug.cgi?id=14547
Summary: typeof document.body.childNodes=="function" ("object"
expected)
Product: WebKit
Version: 522+ (nightly)
Platform: Macintosh PowerPC
OS/Version: Mac OS X 10.4
Status: UNCONFIRMED
Severity: Normal
Priority: P2
Component: HTML DOM
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: doekman at gmail.com
Javascript's type of an NodeList is "function", where "object" is expected.
testcase: typeof document.body.childNodes
expected result: "object"
actual result: "function"
This also goes for the XML DOM, though I don't have a testcase. I encountered
the same behaviour with XMLHttpRequest.responseXML
Rationale: Firefox 2, IE6 and Opera9 all report "object"
--
Configure bugmail: http://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the webkit-unassigned
mailing list