[Webkit-unassigned] [Bug 57320] New: Web Inspector: Unsatisfactory support for objects containing large arrays in Console

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Mar 29 02:42:31 PDT 2011


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

           Summary: Web Inspector: Unsatisfactory support for objects
                    containing large arrays in 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: mnaganov 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


Created an attachment (id=87286)
 --> (https://bugs.webkit.org/attachment.cgi?id=87286&action=review)
Repro page

Expanding an object with a huge array inside takes long time and can even crash renderer (observed in Chromium).

Consider the page attached -- it creates two objects: big1 and big2, that are almost identical. They both contain a huge array inside them, and in 'big1' this array doesn't have contents, but in 'big2' does.

If I evaluate 'big1' in console, and then expand the resulting object, I see its contents immediately. If I evaluate 'big2', and trying to expand it, I experience a delay, and with sufficiently large arrays (20M items), page can crash.

The results of both expansions are identical:

big1
  v Object
     > big_array: Array[20971520]
         f1: "aaa"
         f2: "bbb"
     > __proto__: Object

big2
  v Object
     > big_array: Array[20971520]
         f1: "aaa"
         f2: "bbb"
     > __proto__: Object

I'd expect a delay while trying to expand a 'big_array', but not when I'm expanding the container object.

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