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

Side by Side Diff: LayoutTests/inspector/elements/styles-4/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, 6 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 <html> 1 <html>
2 <head> 2 <head>
3 3
4 <style type="text/css" media="screen"> 4 <style type="text/css" media="screen">
5 #main { background:blue; } 5 #main { background:blue; }
6 </style> 6 </style>
7 7
8 <script src="../../../http/tests/inspector/inspector-test.js"></script> 8 <script src="../../../http/tests/inspector/inspector-test.js"></script>
9 <script src="../../../http/tests/inspector/elements-test.js"></script> 9 <script src="../../../http/tests/inspector/elements-test.js"></script>
10 <script> 10 <script>
11 11
12 function loadIframe() 12 function loadIframe()
13 { 13 {
14 var iframe = document.createElement("iframe"); 14 var iframe = document.createElement("iframe");
15 iframe.src = "resources/styles-iframe-data.html"; 15 iframe.src = "../styles/resources/styles-iframe-data.html";
16 document.getElementById("main").appendChild(iframe); 16 document.getElementById("main").appendChild(iframe);
17 } 17 }
18 18
19 function test() 19 function test()
20 { 20 {
21 InspectorTest.evaluateInPage("loadIframe()"); 21 InspectorTest.evaluateInPage("loadIframe()");
22 InspectorTest.addConsoleSniffer(step0); 22 InspectorTest.addConsoleSniffer(step0);
23 23
24 function step0() 24 function step0()
25 { 25 {
(...skipping 18 matching lines...) Expand all
44 </head> 44 </head>
45 45
46 <body onload="runTest()"> 46 <body onload="runTest()">
47 <p> 47 <p>
48 Tests that proper (and different) styles are returned for body elements of main document and iframe. 48 Tests that proper (and different) styles are returned for body elements of main document and iframe.
49 </p> 49 </p>
50 50
51 <div id="main"></div> 51 <div id="main"></div>
52 </body> 52 </body>
53 </html> 53 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698