We use it for the URL mostly, no need to create artificial resource for that upon attaching to the existing page.
Created attachment 116373 [details] Patch
Comment on attachment 116373 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=116373&action=review > Source/WebCore/inspector/front-end/AuditsPanel.js:135 > + var mainResourceURL = WebInspector.inspectedPageURL; I don't think inspectedPageUrl is a good name, it will be confusing in case of worker inspector, could you rename it to mainResourceURL or something like that? Same for inspectedPageDomain
Comment on attachment 116373 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=116373&action=review > Source/WebCore/inspector/front-end/NetworkPanel.js:986 > + InspectorFrontendHost.saveAs(WebInspector.inspectedPageURL.asParsedURL().host + ".har", JSON.stringify(harArchive)); s/WebInspector.inspectedPageURL.asParsedURL().host/WebInspector.inspectedPageDomain/
Committed r101126: <http://trac.webkit.org/changeset/101126>