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

Unified Diff: LayoutTests/inspector/elements/styles/styles-iframe.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/styles-iframe.html
diff --git a/LayoutTests/inspector/elements/styles/styles-iframe.html b/LayoutTests/inspector/elements/styles/styles-iframe.html
deleted file mode 100644
index 34d1b4e5a0c6c171cc2ce5866b62d13d6a237a16..0000000000000000000000000000000000000000
--- a/LayoutTests/inspector/elements/styles/styles-iframe.html
+++ /dev/null
@@ -1,53 +0,0 @@
-<html>
-<head>
-
-<style type="text/css" media="screen">
- #main { background:blue; }
-</style>
-
-<script src="../../../http/tests/inspector/inspector-test.js"></script>
-<script src="../../../http/tests/inspector/elements-test.js"></script>
-<script>
-
-function loadIframe()
-{
- var iframe = document.createElement("iframe");
- iframe.src = "resources/styles-iframe-data.html";
- document.getElementById("main").appendChild(iframe);
-}
-
-function test()
-{
- InspectorTest.evaluateInPage("loadIframe()");
- InspectorTest.addConsoleSniffer(step0);
-
- function step0()
- {
- InspectorTest.selectNodeAndWaitForStyles("main", step1);
- }
-
- function step1()
- {
- InspectorTest.addResult("Main frame style:");
- InspectorTest.dumpSelectedElementStyles(true, false, true);
- InspectorTest.selectNodeAndWaitForStyles("iframeBody", step2);
- }
-
- function step2()
- {
- InspectorTest.addResult("iframe style:");
- InspectorTest.dumpSelectedElementStyles(true, false, true);
- InspectorTest.completeTest();
- }
-}
-</script>
-</head>
-
-<body onload="runTest()">
-<p>
-Tests that proper (and different) styles are returned for body elements of main document and iframe.
-</p>
-
-<div id="main"></div>
-</body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698