| Index: third_party/WebKit/LayoutTests/inspector-protocol/dom/dom-setOuterHTML.html
|
| diff --git a/third_party/WebKit/LayoutTests/inspector-protocol/dom/dom-setOuterHTML.html b/third_party/WebKit/LayoutTests/inspector-protocol/dom/dom-setOuterHTML.html
|
| deleted file mode 100644
|
| index 9242de389f8c48568606edc9d3fa59a0cc5df2ca..0000000000000000000000000000000000000000
|
| --- a/third_party/WebKit/LayoutTests/inspector-protocol/dom/dom-setOuterHTML.html
|
| +++ /dev/null
|
| @@ -1,53 +0,0 @@
|
| -<html>
|
| -<head>
|
| -<meta charset="utf8">
|
| -<script type="text/javascript" src="../../http/tests/inspector-protocol/resources/inspector-protocol-test.js"></script>
|
| -<script>
|
| -
|
| -function test()
|
| -{
|
| - InspectorTest.sendCommand("DOM.getDocument", {}, onGotDocument);
|
| -
|
| - var bodyId;
|
| - function onGotDocument(msg)
|
| - {
|
| - if (InspectorTest.completeTestIfError(msg))
|
| - return;
|
| - InspectorTest.sendCommand("DOM.querySelector", { nodeId: msg.result.root.nodeId, selector: "body" }, onQuerySelector1);
|
| - InspectorTest.sendCommand("DOM.querySelector", { nodeId: msg.result.root.nodeId, selector: "#id" }, onQuerySelector2);
|
| - }
|
| -
|
| - function onQuerySelector1(msg)
|
| - {
|
| - if (InspectorTest.completeTestIfError(msg))
|
| - return;
|
| - bodyId = msg.result.nodeId;
|
| - }
|
| -
|
| - function onQuerySelector2(msg)
|
| - {
|
| - if (InspectorTest.completeTestIfError(msg))
|
| - return;
|
| - InspectorTest.sendCommand("DOM.setOuterHTML", { nodeId: msg.result.nodeId, outerHTML: "<div>Привет мир 1</div>" }, onSetOuterHTML);
|
| - }
|
| -
|
| - function onSetOuterHTML(msg)
|
| - {
|
| - if (InspectorTest.completeTestIfError(msg))
|
| - return;
|
| - InspectorTest.sendCommand("DOM.getOuterHTML", { nodeId: bodyId }, onGetOuterHTML);
|
| - }
|
| -
|
| - function onGetOuterHTML(msg)
|
| - {
|
| - InspectorTest.completeTest();
|
| - }
|
| -}
|
| -
|
| -</script>
|
| -</head>
|
| -<body onload="runTest()">
|
| - <div id="id">Привет мир</div>
|
| - <div>Привет мир 2</div>
|
| -</body>
|
| -</html>
|
|
|