| Index: LayoutTests/inspector/timeline/timeline-auto-record.html
|
| diff --git a/LayoutTests/inspector/timeline/timeline-auto-record.html b/LayoutTests/inspector/timeline/timeline-auto-record.html
|
| deleted file mode 100644
|
| index 0d7ce0cdfaba1bc1940b2c8c08935b3701606051..0000000000000000000000000000000000000000
|
| --- a/LayoutTests/inspector/timeline/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 model = panel._model;
|
| -
|
| - var callbackBarrier = new CallbackBarrier();
|
| - model.addEventListener(WebInspector.TimelineModel.Events.RecordingStarted, recordingStarted);
|
| - model.addEventListener(WebInspector.TimelineModel.Events.RecordingStopped, callbackBarrier.createCallback());
|
| -
|
| - WebInspector.ConsolePanel.show("console");
|
| - InspectorTest.runWhenPageLoads(step1);
|
| - InspectorTest.addResult("Reloading page on console panel");
|
| - WebInspector.resourceTreeModel.reloadPage();
|
| -
|
| - function step1()
|
| - {
|
| - WebInspector.TimelinePanel.show();
|
| - InspectorTest.runWhenPageLoads(callbackBarrier.createCallback());
|
| - callbackBarrier.callWhenDone(recordingStopped);
|
| - InspectorTest.addResult("Reloading page on timeline panel");
|
| - WebInspector.resourceTreeModel.reloadPage();
|
| - }
|
| -
|
| - function recordingStarted()
|
| - {
|
| - InspectorTest.addResult("Recording started");
|
| - InspectorTest.addResult("Initiated by user: " + model._clientInitiatedRecording);
|
| - }
|
| -
|
| - function recordingStopped()
|
| - {
|
| - InspectorTest.addResult("Recording stopped");
|
| - InspectorTest.completeTest();
|
| - }
|
| -}
|
| -
|
| -</script>
|
| -</head>
|
| -
|
| -<body onload="runTest()">
|
| -<p>Test auto-recording of Timeline.</p>
|
| -
|
| -</body>
|
| -</html>
|
|
|