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

Side by Side Diff: third_party/WebKit/LayoutTests/inspector-protocol/css/css-coverage-poll.html

Issue 2942573003: [DevTools] New harness for inspector-protocol layout tests (Closed)
Patch Set: Protocol -> dp Created 3 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
OLDNEW
1 <html> 1 <html>
2 <head> 2 <head>
3 <script type="text/javascript" src="../../http/tests/inspector-protocol/inspecto r-protocol-test.js"></script> 3 <script type="text/javascript" src="../../http/tests/inspector-protocol/resource s/inspector-protocol-test.js"></script>
4 <script type="text/javascript" src="../../http/tests/inspector-protocol/css-prot ocol-test.js"></script> 4 <script type="text/javascript" src="../resources/css-protocol-test.js"></script>
5 <script type="text/javascript" src="../../http/tests/inspector-protocol/dom-prot ocol-test.js"></script> 5 <script type="text/javascript" src="../resources/dom-protocol-test.js"></script>
6 <script type="text/javascript"> 6 <script type="text/javascript">
7 7
8 function loadStylesheet(url) 8 function loadStylesheet(url)
9 { 9 {
10 var link = document.createElement("link"); 10 var link = document.createElement("link");
11 link.rel = "stylesheet"; 11 link.rel = "stylesheet";
12 link.href = url; 12 link.href = url;
13 var promise = new Promise(fulfill => { 13 var promise = new Promise(fulfill => {
14 link.addEventListener("load", requestAnimationFrame.bind(window, fulfill )); 14 link.addEventListener("load", requestAnimationFrame.bind(window, fulfill ));
15 }); 15 });
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
90 </script> 90 </script>
91 <link rel="stylesheet" href="resources/coverage.css"> 91 <link rel="stylesheet" href="resources/coverage.css">
92 </head> 92 </head>
93 <body onload="runTest();"> 93 <body onload="runTest();">
94 <h1 class="class">Class Selector</h1> 94 <h1 class="class">Class Selector</h1>
95 <p id="id" class="usedStraightAway">ID Selector</p> 95 <p id="id" class="usedStraightAway">ID Selector</p>
96 <div></div> 96 <div></div>
97 97
98 </body> 98 </body>
99 </html> 99 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698