Index: LayoutTests/inspector-protocol/timeline/timeline-start-bufferEvents.html |
diff --git a/LayoutTests/inspector-protocol/timeline/timeline-start-bufferEvents.html b/LayoutTests/inspector-protocol/timeline/timeline-start-bufferEvents.html |
deleted file mode 100644 |
index 5145bc73e99af8e312197976a55aadc7b3a26286..0000000000000000000000000000000000000000 |
--- a/LayoutTests/inspector-protocol/timeline/timeline-start-bufferEvents.html |
+++ /dev/null |
@@ -1,62 +0,0 @@ |
-<html> |
-<head> |
-<script type="text/javascript" src="../../http/tests/inspector-protocol/inspector-protocol-test.js"></script> |
-<script> |
- |
-function testFunction() |
-{ |
- console.timeStamp("Timestamp"); |
-} |
- |
-function test() |
-{ |
- InspectorTest.eventHandler["Timeline.eventRecorded"] = eventRecorded; |
- InspectorTest.eventHandler["Timeline.stopped"] = timelineStopped; |
- InspectorTest.log("Recording started"); |
- InspectorTest.sendCommand("Timeline.start", { bufferEvents: true }, onStart); |
- |
- function onStart(response) |
- { |
- InspectorTest.sendCommand("Runtime.evaluate", { "expression": "testFunction()" }, didEvaluate); |
- } |
- |
- function didEvaluate(response) |
- { |
- InspectorTest.sendCommand("Timeline.stop", {}, onStop); |
- } |
- |
- function eventRecorded(event) |
- { |
- InspectorTest.log("FAIL: event recorded: " + event.params.record.type); |
- } |
- |
- function timelineStopped(event) |
- { |
- InspectorTest.log("Timeline.stopped event has arrived."); |
- InspectorTest.assert(!event.params.consoleTimeline, "It souldn't be event forced by console.timelineEnd"); |
- InspectorTest.log("Events:"); |
- var events = event.params.events; |
- for (var i = 0; i < events.length; ++i) |
- dump(events[i], ""); |
- } |
- |
- function onStop(response) |
- { |
- InspectorTest.log("Recording stopped"); |
- InspectorTest.completeTest(); |
- } |
- |
- function dump(event, prefix) |
- { |
- var eventTypes = { "FunctionCall":true, "TimeStamp":true, "TimerInstall":true, "TimerFire":true }; |
- if (event.type in eventTypes) |
- InspectorTest.log(prefix + event.type); |
- for (var i = 0; event.children && i < event.children.length; ++i) |
- dump(event.children[i], " " + prefix); |
- } |
-} |
-</script> |
-</head> |
-<body onLoad="runTest();"> |
-</body> |
-</html> |