| Index: third_party/WebKit/LayoutTests/inspector-protocol/page/frameAttachedDetached.html
|
| diff --git a/third_party/WebKit/LayoutTests/inspector-protocol/page/frameAttachedDetached.html b/third_party/WebKit/LayoutTests/inspector-protocol/page/frameAttachedDetached.html
|
| deleted file mode 100644
|
| index 2c92ae31c719ccb634be90c886f80ebb2467bd41..0000000000000000000000000000000000000000
|
| --- a/third_party/WebKit/LayoutTests/inspector-protocol/page/frameAttachedDetached.html
|
| +++ /dev/null
|
| @@ -1,61 +0,0 @@
|
| -<html>
|
| -<head>
|
| -<script type="text/javascript" src="../../http/tests/inspector-protocol/inspector-protocol-test.js"></script>
|
| -<script>
|
| -
|
| -var frame;
|
| -
|
| -function append()
|
| -{
|
| - frame = document.createElement("iframe");
|
| - frame.src = "../resources/blank.html";
|
| - document.body.appendChild(frame);
|
| -}
|
| -
|
| -function navigate() {
|
| - frame.src = "about:blank";
|
| -}
|
| -
|
| -function remove() {
|
| - document.body.removeChild(frame);
|
| -}
|
| -
|
| -function test()
|
| -{
|
| - InspectorTest.eventHandler["Page.frameAttached"] = onAttached;
|
| - InspectorTest.eventHandler["Page.frameStartedLoading"] = onStartedLoading;
|
| - InspectorTest.eventHandler["Page.frameNavigated"] = onNavigated;
|
| - InspectorTest.eventHandler["Page.frameDetached"] = onDetached;
|
| - InspectorTest.sendCommand("Page.enable", {});
|
| -
|
| - function onAttached()
|
| - {
|
| - InspectorTest.log("Attached");
|
| - }
|
| - function onStartedLoading()
|
| - {
|
| - InspectorTest.log("Started loading");
|
| - }
|
| - function onNavigated(response)
|
| - {
|
| - InspectorTest.log("Navigated");
|
| - var frame = response.params.frame;
|
| - if (frame.url == "about:blank")
|
| - InspectorTest.sendCommand("Runtime.evaluate", { "expression": "remove()" });
|
| - else
|
| - InspectorTest.sendCommand("Runtime.evaluate", { "expression": "navigate()" });
|
| - }
|
| - function onDetached()
|
| - {
|
| - InspectorTest.log("Detached");
|
| - InspectorTest.completeTest();
|
| - }
|
| -
|
| - InspectorTest.sendCommand("Runtime.evaluate", { "expression": "append()" });
|
| -}
|
| -
|
| -</script>
|
| -</head>
|
| -<body onload="runTest()">
|
| -</body>
|
| -</html>
|
|
|