RESOLVED INVALID 57320
Web Inspector: Unsatisfying support for objects containing large arrays in Console
https://bugs.webkit.org/show_bug.cgi?id=57320
Summary Web Inspector: Unsatisfying support for objects containing large arrays in Co...
Mikhail Naganov
Reported 2011-03-29 02:42:31 PDT
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.
Attachments
Repro page (408 bytes, text/html)
2011-03-29 02:42 PDT, Mikhail Naganov
no flags
Pavel Feldman
Comment 1 2012-01-05 08:13:07 PST
*** Bug 75624 has been marked as a duplicate of this bug. ***
Radar WebKit Bug Importer
Comment 2 2014-12-17 11:23:16 PST
Blaze Burg
Comment 3 2015-11-20 13:06:03 PST
Not an issue any more since we give up showing element previews when arrays are past a reasonable size.
Timothy Hatcher
Comment 4 2016-02-04 19:51:03 PST
Note You need to log in before you can comment on or make changes to this bug.