| Index: third_party/WebKit/LayoutTests/inspector-protocol/page/enable-disable.html
|
| diff --git a/third_party/WebKit/LayoutTests/inspector-protocol/page/enable-disable.html b/third_party/WebKit/LayoutTests/inspector-protocol/page/enable-disable.html
|
| deleted file mode 100644
|
| index c4278fe773c675e872e75bbae74c7e3c03e1f414..0000000000000000000000000000000000000000
|
| --- a/third_party/WebKit/LayoutTests/inspector-protocol/page/enable-disable.html
|
| +++ /dev/null
|
| @@ -1,66 +0,0 @@
|
| -<html>
|
| -<head>
|
| -<script type="text/javascript" src="../../http/tests/inspector-protocol/inspector-protocol-test.js"></script>
|
| -<script>
|
| -
|
| -function test()
|
| -{
|
| - var log = [];
|
| - InspectorTest.eventHandler["Timeline.eventRecorded"] = eventRecorded;
|
| -
|
| - InspectorTest.sendCommand("Timeline.start", {}, timelineStarted);
|
| -
|
| - function timelineStarted()
|
| - {
|
| - log.push("Timeline started");
|
| - InspectorTest.sendCommand("Page.enable", {}, pageAgentEnabled);
|
| - }
|
| -
|
| - function pageAgentEnabled()
|
| - {
|
| - log.push("Page enabled");
|
| - InspectorTest.sendCommand("Page.disable", {}, pageAgentDisabled);
|
| - }
|
| -
|
| - function pageAgentDisabled()
|
| - {
|
| - log.push("Page disabled");
|
| - InspectorTest.sendCommand("NotExistingCommand", {}, didRoundTripOverProtocol);
|
| - }
|
| -
|
| - function didRoundTripOverProtocol()
|
| - {
|
| - InspectorTest.sendCommand("Timeline.stop", {}, timelineStopped);
|
| - }
|
| -
|
| - function timelineStopped(next)
|
| - {
|
| - log.push("Timeline stopped");
|
| - for (var i = 0; i < log.length; ++i)
|
| - InspectorTest.log(log[i]);
|
| - InspectorTest.completeTest();
|
| - }
|
| -
|
| - function eventRecorded(msg)
|
| - {
|
| - if (msg.params.record.type === "Program") {
|
| - var children = msg.params.record.children;
|
| - for (var i = 0; i < children.length; ++i) {
|
| - var record = children[i];
|
| - if (record.type === "GCEvent")
|
| - continue;
|
| - log.push("Timeline.eventRecorded: " + record.type);
|
| - }
|
| - return;
|
| - }
|
| - InspectorTest.log("FAIL: Unexpected records arrived");
|
| - InspectorTest.logObject(msg);
|
| - }
|
| -}
|
| -
|
| -</script>
|
| -<link href="resources/style.css" rel="stylesheet">
|
| -</head>
|
| -<body onload="runTest()">
|
| -</body>
|
| -</html>
|
|
|