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

Unified Diff: LayoutTests/inspector/elements/set-outer-html-body.html

Issue 1158883003: DevTools: shard inspector/elements tests for faster execution. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 7 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: LayoutTests/inspector/elements/set-outer-html-body.html
diff --git a/LayoutTests/inspector/elements/set-outer-html-body.html b/LayoutTests/inspector/elements/set-outer-html-body.html
deleted file mode 100644
index 053638d440d8f7324e02429967180c442eb472dc..0000000000000000000000000000000000000000
--- a/LayoutTests/inspector/elements/set-outer-html-body.html
+++ /dev/null
@@ -1,71 +0,0 @@
-<html>
-<head>
-
-<script src="../../http/tests/inspector/inspector-test.js"></script>
-<script src="../../http/tests/inspector/elements-test.js"></script>
-<script>
-
-function test()
-{
- var htmlNode;
- var bodyNode;
- var headNode;
-
- InspectorTest.runTestSuite([
- function testSetUp(next)
- {
- InspectorTest.expandElementsTree(step1);
- function step1()
- {
- htmlNode = InspectorTest.expandedNodeWithId("html");
- headNode = InspectorTest.expandedNodeWithId("head");
- bodyNode = InspectorTest.expandedNodeWithId("body");
- next();
- }
- },
-
- function testSetBody(next)
- {
- InspectorTest.DOMAgent.setOuterHTML(bodyNode.id, "<body>New body content</body>", dumpHTML(next));
- },
-
- function testInsertComments(next)
- {
- InspectorTest.DOMAgent.setOuterHTML(bodyNode.id, "<!-- new comment between head and body --><body>New body content</body>", dumpHTML(next));
- },
-
- function testSetHead(next)
- {
- InspectorTest.DOMAgent.setOuterHTML(headNode.id, "<head><!-- new head content --></head>", dumpHTML(next));
- },
-
- function testSetHTML(next)
- {
- InspectorTest.DOMAgent.setOuterHTML(htmlNode.id, "<html><head><!-- new head content --></head><body>Setting body as a part of HTML.</body></html>", dumpHTML(next));
- }
- ]);
-
- function dumpHTML(next)
- {
- function dump()
- {
- InspectorTest.DOMAgent.getOuterHTML(htmlNode.id, callback);
- function callback(error, text)
- {
- InspectorTest.addResult(error ? error : text);
- next();
- }
- }
- return dump;
- }
-}
-</script>
-</head>
-
-<body>
-<p>
-Tests DOMAgent.setOuterHTML invoked on body tag. See https://bugs.webkit.org/show_bug.cgi?id=62272.
-<iframe src="resources/set-outer-html-body-iframe.html" onload="runTest()"></iframe>
-</p>
-</body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698