We can save a file with help of InspectorFrontendHost.save method, but it is suitable only for relatively small portions of data and can't process the 6Gb heap snapshot.
Created attachment 139360 [details] Patch
Please wait for approval from abarth@webkit.org, dglazkov@chromium.org, fishd@chromium.org, jamesr@chromium.org or tkent@chromium.org before submitting, as this patch contains changes to the Chromium public API. See also https://trac.webkit.org/wiki/ChromiumWebKitAPI.
Created attachment 139361 [details] Patch
Comment on attachment 139361 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=139361&action=review > Source/WebCore/inspector/InspectorFrontendClient.h:64 > + virtual void append(const WTF::String& url, const WTF::String& content) = 0; We may want bool forceSaveAs argument here, otherwise the only way to change the file path would be to call save() for the URL and then append.
Comment on attachment 139361 [details] Patch Clearing flags on attachment: 139361 Committed r115577: <http://trac.webkit.org/changeset/115577>
All reviewed patches have been landed. Closing bug.