RESOLVED FIXED 140567
Web Inspector: Do not request Scope Chain lists if section is collapsed (mainly Global Variables)
https://bugs.webkit.org/show_bug.cgi?id=140567
Summary Web Inspector: Do not request Scope Chain lists if section is collapsed (main...
Joseph Pecoraro
Reported 2015-01-16 14:47:47 PST
* SUMMARY Do not request Scope Chain lists if section is collapsed (mainly Global Variables). The Global Variables Scope Chain section (and message to populate it) is HUGE. Its sort shows constructors before properties so I normally don't care and I collapse the section. Even if it is collapsed we still update it every pause (so every step, etc). We should avoid this work if we don't need to do it.
Attachments
[PATCH] Proposed Fix (9.01 KB, patch)
2016-08-15 16:02 PDT, Joseph Pecoraro
no flags
Radar WebKit Bug Importer
Comment 1 2015-01-16 14:48:02 PST
Joseph Pecoraro
Comment 2 2016-08-15 16:02:35 PDT
Created attachment 286108 [details] [PATCH] Proposed Fix This should make stepping through code a little faster if users haven't expanded the "Global Variables" section, which defaults to collapsed. On many pages that is a very large message, and it takes non-trivial amount of processing in InjectedScriptSource to build.
WebKit Commit Bot
Comment 3 2016-08-16 10:27:53 PDT
Comment on attachment 286108 [details] [PATCH] Proposed Fix Clearing flags on attachment: 286108 Committed r204513: <http://trac.webkit.org/changeset/204513>
WebKit Commit Bot
Comment 4 2016-08-16 10:27:57 PDT
All reviewed patches have been landed. Closing bug.
Joseph Pecoraro
Comment 5 2017-03-16 14:43:09 PDT
*** Bug 143097 has been marked as a duplicate of this bug. ***
Note You need to log in before you can comment on or make changes to this bug.