Upstream version 5.34.104.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / LayoutTests / inspector-protocol / heap-profiler / heap-objects-tracking.html
index 4be5775..9447c69 100644 (file)
@@ -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
 }