Index: third_party/WebKit/LayoutTests/inspector/tracing/timeline-auto-record.html |
diff --git a/third_party/WebKit/LayoutTests/inspector/tracing/timeline-auto-record.html b/third_party/WebKit/LayoutTests/inspector/tracing/timeline-auto-record.html |
deleted file mode 100644 |
index 7f965e17409054ab034562911103d0da63a2207a..0000000000000000000000000000000000000000 |
--- a/third_party/WebKit/LayoutTests/inspector/tracing/timeline-auto-record.html |
+++ /dev/null |
@@ -1,51 +0,0 @@ |
-<html> |
-<head> |
-<script src="../../http/tests/inspector/inspector-test.js"></script> |
-<script src="../../http/tests/inspector/console-test.js"></script> |
-<script src="../../http/tests/inspector/timeline-test.js"></script> |
-<script> |
- |
-function test() |
-{ |
- var panel = WebInspector.panels.timeline; |
- |
- var callbackBarrier = new CallbackBarrier(); |
- InspectorTest.addSniffer(panel, "recordingStarted", recordingStarted); |
- InspectorTest.addSniffer(panel, "loadingComplete", callbackBarrier.createCallback()); |
- |
- WebInspector.ConsolePanel.show(); |
- InspectorTest.runWhenPageLoads(step1); |
- InspectorTest.addResult("Reloading page on console panel"); |
- panel._millisecondsToRecordAfterLoadEvent = 1; |
- InspectorTest.resourceTreeModel.reloadPage(); |
- |
- function step1() |
- { |
- WebInspector.TimelinePanel.show(); |
- InspectorTest.runWhenPageLoads(callbackBarrier.createCallback()); |
- callbackBarrier.callWhenDone(recordingStopped); |
- InspectorTest.addResult("Reloading page on timeline panel"); |
- InspectorTest.resourceTreeModel.reloadPage(); |
- } |
- |
- function recordingStarted() |
- { |
- InspectorTest.addResult("Recording started"); |
- InspectorTest.addResult("Initiated by user: " + !panel._autoRecordGeneration); |
- } |
- |
- function recordingStopped() |
- { |
- InspectorTest.addResult("Recording stopped"); |
- InspectorTest.completeTest(); |
- } |
-} |
- |
-</script> |
-</head> |
- |
-<body onload="runTest()"> |
-<p>Test auto-recording of Timeline.</p> |
- |
-</body> |
-</html> |