[Webkit-unassigned] [Bug 14547] typeof document.body.childNodes=="function" ("object" expected)

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Aug 30 23:32:20 PDT 2007


http://bugs.webkit.org/show_bug.cgi?id=14547





------- Comment #7 from sam at webkit.org  2007-08-30 23:32 PDT -------
The reason NodeLists report there type as function is that they implement
call() and the implementation of typeof checks to see if implementsCall()
returns true (which it does).   (see
http://trac.webkit.org/projects/webkit/browser/trunk/JavaScriptCore/kjs/nodes.cpp#L977). 


-- 
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