Bug 59583 - Web Inspector: expanding "Show All Nodes" button in the DOM tree is very slow
Summary: Web Inspector: expanding "Show All Nodes" button in the DOM tree is very slow
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Inspector (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2011-04-26 23:14 PDT by Mikhail Naganov
Modified: 2016-12-13 15:40 PST (History)
5 users (show)

See Also:


Attachments
Repro page (546 bytes, text/html)
2011-04-26 23:14 PDT, Mikhail Naganov
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mikhail Naganov 2011-04-26 23:14:20 PDT
Created attachment 91239 [details]
Repro page

Consider the following scenario:
 - open the repro page;
 - open Inspector;
 - in the "Elements" panel, expand <body>, <table> and <tbody> nodes;
 - observe that only 500 <tr> nodes are shown, and the rest are hidden behind the "Show All Nodes" button;
 - on the repro page, invoke context menu on the bottom node (having "9999" value), and click "Inspect Element";
 - it will require a lot of time for Inspector to reveal the node.

In contrast, the following scenario works fast:
 - open the repro page;
 - don't open Inspector;
 - on the repro page, invoke context menu on the bottom node (having "9999" value), and click "Inspect Element";
 - Inspector will open, but will not reveal the node (this is another bug, I believe);
 - invoke "Inspect Element" on the same node again -- it will be revealed in Inspector in a timely manner.
Comment 1 BJ Burg 2014-01-25 15:21:27 PST
Migrating to new component.

This is still a problem in the current Web Inspector. I'm guessing that it's thrashing layout for every node :(
Comment 2 Radar WebKit Bug Importer 2014-01-25 15:21:36 PST
<rdar://problem/15909879>