Summary: | Web Inspector: Unsatisfying support for objects containing large arrays in Console | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Mikhail Naganov <mnaganov> | ||||
Component: | Web Inspector | Assignee: | Nobody <webkit-unassigned> | ||||
Status: | RESOLVED INVALID | ||||||
Severity: | Normal | CC: | apavlov, bburg, bweinstein, chutten, graouts, joepeck, jonowells, keishi, kpiascik, loislo, mattbaker, nvasilyev, pfeldman, pmuellr, rik, timothy, webkit-bug-importer, yurys | ||||
Priority: | P2 | Keywords: | InRadar | ||||
Version: | 528+ (Nightly build) | ||||||
Hardware: | All | ||||||
OS: | All | ||||||
Attachments: |
|
*** Bug 75624 has been marked as a duplicate of this bug. *** Not an issue any more since we give up showing element previews when arrays are past a reasonable size. |
Created attachment 87286 [details] 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.