RESOLVED FIXED 179360
Web Inspector: Create inspector agents lazily
https://bugs.webkit.org/show_bug.cgi?id=179360
Summary Web Inspector: Create inspector agents lazily
Joseph Pecoraro
Reported 2017-11-06 19:43:36 PST
Create inspector agents lazily Move some agents to be created lazily. We don't need these to be created along with the WebCore::Page since they are only needed when an inspector frontend connects. Our goal should be to move more and more of these to be lazily created.
Attachments
[PATCH] Proposed Fix (9.59 KB, patch)
2017-11-06 19:45 PST, Joseph Pecoraro
no flags
Joseph Pecoraro
Comment 1 2017-11-06 19:45:01 PST
Created attachment 326186 [details] [PATCH] Proposed Fix
Build Bot
Comment 2 2017-11-06 19:47:12 PST
Attachment 326186 [details] did not pass style-queue: ERROR: Source/WebCore/inspector/InspectorController.cpp:154: Weird number of spaces at line-start. Are you using a 4-space indent? [whitespace/indent] [3] Total errors found: 1 in 4 files If any of these errors are false positives, please file a bug against check-webkit-style.
Joseph Pecoraro
Comment 3 2017-11-06 20:02:57 PST
Comment on attachment 326186 [details] [PATCH] Proposed Fix View in context: https://bugs.webkit.org/attachment.cgi?id=326186&action=review > Source/WebCore/inspector/InspectorController.cpp:153 > - commandLineAPIHost->init(m_inspectorAgent > + commandLineAPIHost->init( I can make this all one line now. It used to be split up because of ENABLE guards that no longer exist.
WebKit Commit Bot
Comment 4 2017-11-07 01:32:18 PST
Comment on attachment 326186 [details] [PATCH] Proposed Fix Clearing flags on attachment: 326186 Committed r224530: <https://trac.webkit.org/changeset/224530>
WebKit Commit Bot
Comment 5 2017-11-07 01:32:19 PST
All reviewed patches have been landed. Closing bug.
Radar WebKit Bug Importer
Comment 6 2017-11-15 12:10:24 PST
Note You need to log in before you can comment on or make changes to this bug.