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

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

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-for-xhtml.xhtml
diff --git a/LayoutTests/inspector/elements/set-outer-html-for-xhtml.xhtml b/LayoutTests/inspector/elements/set-outer-html-for-xhtml.xhtml
deleted file mode 100644
index 36d5a650323d81e7e378479656e3b0da7af0d0b9..0000000000000000000000000000000000000000
--- a/LayoutTests/inspector/elements/set-outer-html-for-xhtml.xhtml
+++ /dev/null
@@ -1,78 +0,0 @@
-<html id="html" xmlns="http://www.w3.org/1999/xhtml">
-<head>
-
-<script src="../../http/tests/inspector/inspector-test.js"></script>
-<script src="../../http/tests/inspector/elements-test.js"></script>
-<script src="set-outer-html-test.js"></script>
-<script>
-//<![CDATA[
-
-function onload()
-{
- document.getElementById("identity").wrapperIdentity = "identity";
- runTest();
-}
-
-function test()
-{
- InspectorTest.runTestSuite([
- function testSetUp(next)
- {
- InspectorTest.setUpTestSuite(next);
- },
-
- function testChangeCharacterData(next)
- {
- InspectorTest.patchOuterHTML("Getting involved", "Getting not involved", next);
- },
-
- function testChangeAttributes(next)
- {
- InspectorTest.patchOuterHTML("<a href", "<a foo=\"bar\" href", next);
- },
-
- function testRemoveLastChild(next)
- {
- InspectorTest.patchOuterHTML("Getting involved", "", next);
- },
-
- function testSplitNode(next)
- {
- InspectorTest.patchOuterHTML("Getting involved", "Getting</h2><h2>involved", next);
- },
-
- function testChangeNodeName(next)
- {
- InspectorTest.patchOuterHTML("<h2>Getting involved</h2>", "<h3>Getting involved</h3>", next);
- },
-
- function testInvalidDocumentDoesNotCrash(next)
- {
- var htmlId = InspectorTest.expandedNodeWithId("html").id;
- InspectorTest.DOMAgent.setOuterHTML(htmlId, "foo", callback);
-
- function callback()
- {
- InspectorTest.addResult("PASS: No crash");
- next();
- }
- }
- ]);
-}
-//]]>
-</script>
-</head>
-
-<body onload="onload()">
-<p>
-Tests DOMAgent.setOuterHTML protocol method against an XHTML document.
-</p>
-
-<div id="container" style="display:none">
-<p>WebKit is used by <a href="http://www.apple.com/safari/">Safari</a>, Dashboard, etc.</p>
-<h2>Getting involved</h2>
-<p id="identity">There are many ways to get involved. You can:</p>
-</div>
-
-</body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698