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

Unified Diff: LayoutTests/inspector/elements/styles/edit-resource-referred-by-multiple-styletags.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/edit-resource-referred-by-multiple-styletags.html
diff --git a/LayoutTests/inspector/elements/styles/edit-resource-referred-by-multiple-styletags.html b/LayoutTests/inspector/elements/styles/edit-resource-referred-by-multiple-styletags.html
deleted file mode 100644
index 5cf832f64e737783ebc835481f44041aba983c20..0000000000000000000000000000000000000000
--- a/LayoutTests/inspector/elements/styles/edit-resource-referred-by-multiple-styletags.html
+++ /dev/null
@@ -1,58 +0,0 @@
-<html>
-<head>
-<script src="../../../http/tests/inspector/inspector-test.js"></script>
-<script src="../../../http/tests/inspector/elements-test.js"></script>
-<script src="../../../http/tests/inspector/debugger-test.js"></script>
-<script src="../../../http/tests/inspector/live-edit-test.js"></script>
-<script>
-
-function prepareTest()
-{
- var text = document.querySelector(".stylesheet-text").textContent;
- for (var i = 0; i < 3; ++i) {
- var style = document.createElement("style");
- style.textContent = text;
- document.head.appendChild(style);
- }
- runTest();
-}
-
-function test()
-{
- InspectorTest.showScriptSource("stylesheet.css", onEditorOpened);
-
- function onEditorOpened(sourceFrame)
- {
- InspectorTest.addSniffer(WebInspector.CSSStyleModel.prototype, "_fireStyleSheetChanged", didEditStyleSheet);
- InspectorTest.replaceInSource(sourceFrame, "100px", "2em");
- }
-
- function didEditStyleSheet()
- {
- InspectorTest.selectNodeAndWaitForStyles("inspected", didSelectNode);
- }
-
- function didSelectNode()
- {
- InspectorTest.dumpSelectedElementStyles(true, false);
- InspectorTest.completeTest();
- }
-}
-</script>
-</head>
-<body onload="prepareTest()">
-<p>
-Tests that editing sourcecode which is referred by multiple stylesheets (via sourceURL comment) updates all stylesheets.
-</p>
-
-<div id="inspected">Inspected node</div>
-
-<div class="stylesheet-text" hidden>
-#inspected {
- font-size: 100px;
-}
-/*# sourceURL=stylesheet.css */
-</div>
-
-</body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698