[Webkit-unassigned] [Bug 15089] New: typeof childNodes is reported as "function"

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Aug 27 01:45:05 PDT 2007


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

           Summary: typeof childNodes is reported as "function"
           Product: WebKit
           Version: 522+ (nightly)
          Platform: Macintosh
               URL: javascript:alert(typeof document.body.childNodes)
        OS/Version: Mac OS X 10.5
            Status: NEW
          Keywords: HasReduction, NeedsRadar
          Severity: Normal
          Priority: P2
         Component: HTML DOM
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: mrowe at apple.com


I noticed this while browsing the jQuery source code.

javascript:alert(typeof document.body.childNodes) displays "function". 
Curiously enough, document.body.childNodes() does appear to be callable!

In Firefox it displays "object" and document.body.childNodes is not callable.


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