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

Unified Diff: LayoutTests/inspector/elements/perform-undo-undo.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/perform-undo-undo.html
diff --git a/LayoutTests/inspector/elements/perform-undo-undo.html b/LayoutTests/inspector/elements/perform-undo-undo.html
deleted file mode 100644
index e46f2033c7728c3e27a20f35e656498fc730bd16..0000000000000000000000000000000000000000
--- a/LayoutTests/inspector/elements/perform-undo-undo.html
+++ /dev/null
@@ -1,66 +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 containerNode;
- InspectorTest.expandElementsTree(step1);
-
- function step1(node)
- {
- containerNode = InspectorTest.expandedNodeWithId("container");
- InspectorTest.addResult("========= Original ========");
- InspectorTest.dumpElementsTree(containerNode);
- step2();
- }
-
- function step2()
- {
- function callback()
- {
- InspectorTest.addResult("===== Modified element =====");
- InspectorTest.dumpElementsTree(containerNode);
- step3();
- }
- containerNode.setAttribute("", "foo=\"bar\"", callback);
- }
-
- function step3()
- {
- function callback()
- {
- InspectorTest.addResult("===== Undo 1 =====");
- InspectorTest.dumpElementsTree(containerNode);
- step4();
- }
- InspectorTest.domModel.undo(callback);
- }
-
- function step4()
- {
- function callback()
- {
- InspectorTest.addResult("===== Undo 2 =====");
- InspectorTest.dumpElementsTree(containerNode);
- InspectorTest.completeTest();
- }
- InspectorTest.domModel.undo(callback);
- }
-}
-
-</script>
-</head>
-
-<body onload="runTest()">
-<p>
-Tests that client can call undo multiple times with non-empty history.
-</p>
-
-<div style="display:none" id="container">
-</div>
-
-</body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698