RESOLVED FIXED 195588
Web Inspector: DOMStorage: lazily create the agent
https://bugs.webkit.org/show_bug.cgi?id=195588
Summary Web Inspector: DOMStorage: lazily create the agent
Devin Rousso
Reported 2019-03-11 17:51:06 PDT
.
Attachments
Patch (11.45 KB, patch)
2019-03-17 12:28 PDT, Devin Rousso
no flags
Patch (12.80 KB, patch)
2019-03-17 14:42 PDT, Devin Rousso
no flags
Patch (12.79 KB, patch)
2019-03-19 10:39 PDT, Devin Rousso
no flags
Patch (13.40 KB, patch)
2019-03-19 11:47 PDT, Devin Rousso
no flags
Radar WebKit Bug Importer
Comment 1 2019-03-11 17:58:46 PDT
Devin Rousso
Comment 2 2019-03-17 12:28:37 PDT
Devin Rousso
Comment 3 2019-03-17 14:42:52 PDT
Devin Rousso
Comment 4 2019-03-17 17:17:59 PDT
Comment on attachment 364976 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=364976&action=review > Source/WebCore/inspector/agents/InspectorDOMStorageAgent.cpp:184 > + errorString = "Missing page agent"_s; This should probably be `"Missing Page agent"`.
Joseph Pecoraro
Comment 5 2019-03-18 21:57:30 PDT
Comment on attachment 364976 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=364976&action=review r=me > Source/WebCore/inspector/CommandLineAPIHost.cpp:169 > - if (m_domStorageAgent) > - return m_domStorageAgent->storageId(storage); > - return { }; > + return InspectorDOMStorageAgent::storageId(storage); Nice! >> Source/WebCore/inspector/agents/InspectorDOMStorageAgent.cpp:184 >> + errorString = "Missing page agent"_s; > > This should probably be `"Missing Page agent"`. Agreed.
Devin Rousso
Comment 6 2019-03-19 10:39:49 PDT
WebKit Commit Bot
Comment 7 2019-03-19 10:51:43 PDT Comment hidden (obsolete)
Devin Rousso
Comment 8 2019-03-19 11:47:58 PDT
Created attachment 365193 [details] Patch Include drive-by fix from r243150 <https://trac.webkit.org/changeset/243150>: move creation of Heap agent outside `ENABLE(RESOURCE_USAGE)` block
WebKit Commit Bot
Comment 9 2019-03-19 12:11:13 PDT
Comment on attachment 365193 [details] Patch Clearing flags on attachment: 365193 Committed r243158: <https://trac.webkit.org/changeset/243158>
WebKit Commit Bot
Comment 10 2019-03-19 12:11:14 PDT
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.