Bug 201909 - Web Inspector: autocompletion of array indexes can't handle large arrays in a performant way
Summary: Web Inspector: autocompletion of array indexes can't handle large arrays in a...
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Inspector (show other bugs)
Version: WebKit Nightly Build
Hardware: All All
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on: 143589
Blocks:
  Show dependency treegraph
 
Reported: 2019-09-18 00:54 PDT by Devin Rousso
Modified: 2019-09-18 00:54 PDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Devin Rousso 2019-09-18 00:54:37 PDT
(In reply to Devin Rousso from https://webkit.org/b/143589#29)
> > Does this mean we create a completion list of 1000000 entries if the object is large? We probably shouldn't do that. It would be better for the completion controller generate numbers to handle a number range, instead of an object with millions of keys.
> 
> That's true.  We don't want to fill the autocomplete list with a list item for each index.  Frankly, I'm not sure how useful an autocomplete of index keys really is, but given that it exists now, I won't remove it.  I'll revert this part and create a followup bug to do something sane for this case.