[Webkit-unassigned] [Bug 93713] New: Web Inspector: render arrays as dir in case they were logged into console prior to the front-end opening.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Aug 10 05:40:32 PDT 2012


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

           Summary: Web Inspector: render arrays as dir in case they were
                    logged into console prior to the front-end opening.
           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: pfeldman at chromium.org
                CC: timothy at apple.com, rik at webkit.org, keishi at webkit.org,
                    pmuellr at yahoo.com, joepeck at webkit.org,
                    pfeldman at chromium.org, yurys at chromium.org,
                    bweinstein at apple.com, apavlov at chromium.org,
                    loislo at chromium.org


When the user code does console.log() of arrays prior to front-end opening, we dump them in expanded user-friendly manner:
[0,0,0]
[0,0,1]
[0,0,2]

However, if this is the same array modified and logged over and over, we confuse user via outputting its last state:
[0,0,2]
[0,0,2]
[0,0,2]

In order to avoid the confusion, I'm suggesting that we dump potentially outdated arrays using the "dir" representation, i.e.
Array[3]

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