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 3a4e476470472adcf28c20e3b863e9d4d57b2955..0000000000000000000000000000000000000000 |
--- a/LayoutTests/inspector-protocol/timeline/timeline-start-bufferEvents.html |
+++ /dev/null |
@@ -1,55 +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.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 onStop(response) |
- { |
- InspectorTest.log("Recording stopped"); |
- InspectorTest.log("Events:"); |
- var events = response.result.events; |
- for (var i = 0; i < events.length; ++i) |
- dump(events[i], ""); |
- 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> |