Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(10)

Unified Diff: third_party/WebKit/LayoutTests/inspector-protocol/dom/dom-setOuterHTML.html

Issue 2955943002: DevTools: migrate inspector-protocol/dom tests to a new test runner (Closed)
Patch Set: rebaseline Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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>

Powered by Google App Engine
This is Rietveld 408576698