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

Unified Diff: LayoutTests/inspector/elements/undo-dom-edits-2.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/undo-dom-edits-2.html
diff --git a/LayoutTests/inspector/elements/undo-dom-edits-2.html b/LayoutTests/inspector/elements/undo-dom-edits-2.html
deleted file mode 100644
index f794b0133abb8f6ae2a7d6cfa9a9694b0da30995..0000000000000000000000000000000000000000
--- a/LayoutTests/inspector/elements/undo-dom-edits-2.html
+++ /dev/null
@@ -1,74 +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 testSuite = [];
-
- function testSetUp(next)
- {
- InspectorTest.addResult("Setting up");
- InspectorTest.expandElementsTree(callback);
-
- function callback()
- {
- InspectorTest.expandElementsTree(next);
- }
- }
- testSuite.push(testSetUp);
-
-
- function testSetAttribute(callback)
- {
- var node = InspectorTest.expandedNodeWithId("node-to-set-attribute");
- node.setAttribute("foo", "bar=\"edited attribute\"", callback);
- }
- testSuite.push(InspectorTest.generateUndoTest(testSetAttribute));
-
-
- function testRemoveAttribute(callback)
- {
- var node = InspectorTest.expandedNodeWithId("node-to-remove-attribute");
- node.removeAttribute("foo", callback);
- }
- testSuite.push(InspectorTest.generateUndoTest(testRemoveAttribute));
-
-
- function testAddAttribute(callback)
- {
- var node = InspectorTest.expandedNodeWithId("node-to-add-attribute");
- node.setAttribute("", "newattr=\"new-value\"", callback);
- }
- testSuite.push(InspectorTest.generateUndoTest(testAddAttribute));
-
-
- InspectorTest.runTestSuite(testSuite);
-}
-
-</script>
-</head>
-
-<body onload="runTest()">
-<p>
-Tests that DOM modifications done in the Elements panel are undoable (Part 2).
-</p>
-
-<div style="display:none">
- <div id="testSetAttribute">
- <div foo="attribute value" id="node-to-set-attribute"></div>
- </div>
-
- <div id="testRemoveAttribute">
- <div foo="attribute value" id="node-to-remove-attribute"></div>
- </div>
-
- <div id="testAddAttribute">
- <div id="node-to-add-attribute"></div>
- </div>
-</div>
-
-</body>
-</html>
« no previous file with comments | « LayoutTests/inspector/elements/undo-dom-edits.html ('k') | LayoutTests/inspector/elements/undo-dom-edits-2-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698