Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(232)

Unified Diff: LayoutTests/inspector-protocol/heap-profiler/heap-objects-tracking.html

Issue 98273008: [DevTools] Send heap snapshot to the frontend immediatly when it is ready (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fixed test crash Created 6 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | LayoutTests/inspector-protocol/heap-profiler/heap-objects-tracking-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/inspector-protocol/heap-profiler/heap-objects-tracking.html
diff --git a/LayoutTests/inspector-protocol/heap-profiler/heap-objects-tracking.html b/LayoutTests/inspector-protocol/heap-profiler/heap-objects-tracking.html
index 4be577573523a4fe474135966f049bba5ab9ce10..9447c69f1898e286c2e12928cf856560a64744ce 100644
--- a/LayoutTests/inspector-protocol/heap-profiler/heap-objects-tracking.html
+++ b/LayoutTests/inspector-protocol/heap-profiler/heap-objects-tracking.html
@@ -28,7 +28,6 @@ function test()
var gotLastSeenObjectIdEvent = false;
var gotHeapStatsUpdateEvent = false;
- var gotHeapProfilerHeader = false;
function trackingStarted()
{
InspectorTest.log("SUCCESS: tracking started");
@@ -40,8 +39,6 @@ function test()
InspectorTest.log("SUCCESS: heapStatsUpdate arrived");
if (gotLastSeenObjectIdEvent)
InspectorTest.log("SUCCESS: lastSeenObjectId arrived");
- if (gotHeapProfilerHeader)
- InspectorTest.log("SUCCESS: addProfileHeader arrived");
InspectorTest.log("SUCCESS: tracking stopped");
InspectorTest.completeTest();
}
@@ -75,11 +72,6 @@ function test()
gotHeapStatsUpdateEvent = true;
}
- InspectorTest.eventHandler["HeapProfiler.addProfileHeader"] = function(messageObject)
- {
- gotHeapProfilerHeader = true;
- }
-
InspectorTest.sendCommand("HeapProfiler.startTrackingHeapObjects", {}, trackingStarted);
//@ sourceURL=heap-objects-tracking.html
}
« no previous file with comments | « no previous file | LayoutTests/inspector-protocol/heap-profiler/heap-objects-tracking-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698