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

Unified Diff: LayoutTests/inspector/elements/styles/import-pseudoclass-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/import-pseudoclass-crash.html
diff --git a/LayoutTests/inspector/elements/styles/import-pseudoclass-crash.html b/LayoutTests/inspector/elements/styles/import-pseudoclass-crash.html
deleted file mode 100644
index 7af497b515ba19f35f6ee0ae7fa12bc2659c5828..0000000000000000000000000000000000000000
--- a/LayoutTests/inspector/elements/styles/import-pseudoclass-crash.html
+++ /dev/null
@@ -1,49 +0,0 @@
-<html>
-<head>
-<link rel="stylesheet" href="resources/import-pseudoclass-crash.css">
-<script src="../../../http/tests/inspector/inspector-test.js"></script>
-<script src="../../../http/tests/inspector/elements-test.js"></script>
-<script>
-
-function test()
-{
- InspectorTest.nodeWithId("lastchild", nodeFound);
-
- function nodeFound(node)
- {
- InspectorTest.cssModel.getMatchedStylesAsync(node.id, true, false, matchedStylesCallback);
- }
-
- var styleSheetId;
-
- function matchedStylesCallback(styles)
- {
- styleSheetId = styles.matchedCSSRules[1].styleSheetId;
- InspectorTest.CSSAgent.setStyleSheetText(styleSheetId,
- "@import url(\"import-pseudoclass-crash-empty.css\");\n\n:last-child { color: #000001; }\n", modifiedCallback);
- }
-
- function modifiedCallback()
- {
- InspectorTest.CSSAgent.setStyleSheetText(styleSheetId, "@import url(\"import-pseudoclass-crash-empty.css\");\n\n:last-child { color: #002001; }\n", modifiedCallback2);
- }
-
- function modifiedCallback2()
- {
- InspectorTest.completeTest();
- }
-}
-
-</script>
-</head>
-
-<body onload="runTest()">
-<p>
-Tests that modifying stylesheet text with @import and :last-child selector does not crash (<a href="https://bugs.webkit.org/show_bug.cgi?id=95324">Bug 95324</a>).
-</p>
-
-<div>
- <p id="lastchild">:last-child</p>
-</div>
-</body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698