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

Unified Diff: LayoutTests/inspector/elements/styles/undo-add-rule-crash.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/styles/undo-add-rule-crash.html
diff --git a/LayoutTests/inspector/elements/styles/undo-add-rule-crash.html b/LayoutTests/inspector/elements/styles/undo-add-rule-crash.html
deleted file mode 100644
index 34d8445cefab26efdb67190a2b39cf1b40656fc4..0000000000000000000000000000000000000000
--- a/LayoutTests/inspector/elements/styles/undo-add-rule-crash.html
+++ /dev/null
@@ -1,50 +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()
-{
- InspectorTest.selectNodeAndWaitForStyles("inspected", step1);
-
- function step1()
- {
- addNewRuleAndSelectNode("other", step2);
- }
-
- function step2()
- {
- InspectorTest.domModel.undo();
- InspectorTest.waitForStyles("other", step3);
- }
-
- function step3()
- {
- InspectorTest.completeTest();
- }
-
- function addNewRuleAndSelectNode(nodeId, next)
- {
- InspectorTest.addNewRule(null, ruleAdded);
-
- function ruleAdded()
- {
- InspectorTest.selectNodeAndWaitForStyles(nodeId, next);
- }
- }
-}
-
-</script>
-</head>
-
-<body onload="runTest()">
-Tests that the inspected page does not crash after undoing a new rule addition. <a href="https://bugs.webkit.org/show_bug.cgi?id=104806">Bug 104806</a>
-
-<p>The test has passed (no crash).</p>
-<div id="inspected"><div id="other" /></div>
-<style>
-@-webkit-keyframes cfpulse1 { 0% { opacity: 0.1; } }
-.c1 { -webkit-animation-name: cfpulse1; }
-</style>
-</html>

Powered by Google App Engine
This is Rietveld 408576698