[Webkit-unassigned] [Bug 30485] New: Web Inspector: Properties on Arrays and NodeLists are not logged correctly

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Oct 17 14:26:05 PDT 2009


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

           Summary: Web Inspector: Properties on Arrays and NodeLists are
                    not logged correctly
           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: timothy at hatcher.name
                CC: timothy at hatcher.name, aroben at apple.com,
                    rik at webkit.org, joepeck at webkit.org,
                    pfeldman at chromium.org


If you log an Array that has a non-numeric property on it we will output the
array with the non-numeric property at the end. But we wont show the property
key. And NodeLists have an enumerible "length" property, so we show the length.

We should just skip non-numeric properties and require you to use dir(array) to
see everything.

Run this in the console:

a = ["test", "test2"]; a.foo = "bar"; a

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