[Webkit-unassigned] [Bug 28061] New: Inspector: NodeLists Don't Display Well in the Console

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Aug 6 21:33:44 PDT 2009


https://bugs.webkit.org/show_bug.cgi?id=28061

           Summary: Inspector: NodeLists Don't Display Well in the Console
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: All
        OS/Version: All
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: Web Inspector
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: joepeck02 at gmail.com
                CC: timothy at hatcher.name, aroben at apple.com,
                    kmccullough at apple.com


This currently stems from another bug:
Title: typeof document.body.childNodes=="function"
Link: https://bugs.webkit.org/show_bug.cgi?id=14547

This can easily be worked around if before formatting the object we check this
special case.

  if (output instanceof NodeList)
      type = "array"; // or "object"

I have a feeling its inappropriate to put this special check inside Object.type
(utilities.js), but it can be done specifically inside of
WebInspector.ConsoleView._format (ConsoleView).

Any preference for how it should display?
  - Object (expand triangle)
  - Array (being nodes it will be an array of inline html tree outlines)

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list