Bug 143429 - Web Inspector: Array values overlay array indices when indices are 4 digits or more
Summary: Web Inspector: Array values overlay array indices when indices are 4 digits o...
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Inspector (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Nikita Vasilyev
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2015-04-05 17:11 PDT by Nikita Vasilyev
Modified: 2016-12-13 15:40 PST (History)
4 users (show)

See Also:


Attachments
Screenshot of the bug (6.74 KB, image/png)
2015-04-05 17:11 PDT, Nikita Vasilyev
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Nikita Vasilyev 2015-04-05 17:11:43 PDT
Created attachment 250178 [details]
Screenshot of the bug

var list = Array(1001).fill("Zoidberg");
    console.log(list);

We should use either CSS tables or flex box to make the indices column content dependent.
Comment 1 Radar WebKit Bug Importer 2015-04-05 17:11:59 PDT
<rdar://problem/20429846>
Comment 2 Joseph Pecoraro 2015-04-05 17:35:31 PDT
We already have many issues with large arrays. We should be chunking large structures to 100 elements at a time. I don't think we should modify the styles here, we should just better handle large collections.
Comment 3 Joseph Pecoraro 2015-04-05 17:36:21 PDT
This applies to all collections, Array/Set/Map/Weak*/Iterator and maybe even Objects with lots of properties.