Steps to reproduce: 1. Take heap snapshot. 2. Right click on the snapshot, "Save Heap Snapshot". 3. Click "CANCEL" on the save to file dialog. 4. Right click on the snapshot. Result: "Save Heap Snapshot" menu item do not appear.
Created attachment 171777 [details] Patch
Comment on attachment 171777 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=171777&action=review > LayoutTests/inspector/profiler/heap-snapshot-loader.html:141 > + InspectorFrontendHost.save = function saveMock(url, data) Use InspectorTest.override instead.
Created attachment 171816 [details] Patch
Comment on attachment 171777 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=171777&action=review >> LayoutTests/inspector/profiler/heap-snapshot-loader.html:141 >> + InspectorFrontendHost.save = function saveMock(url, data) > > Use InspectorTest.override instead. Done
Committed r135586: <http://trac.webkit.org/changeset/135586>