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

Side by Side Diff: third_party/WebKit/LayoutTests/inspector-protocol/css/css-get-rule-list.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 function test() 7 function test()
8 { 8 {
9 InspectorTest.sendCommandOrDie("DOM.enable", {}); 9 InspectorTest.sendCommandOrDie("DOM.enable", {});
10 InspectorTest.sendCommandOrDie("CSS.enable", {}, () => testGetRuleListAfterS tartingRecording()); 10 InspectorTest.sendCommandOrDie("CSS.enable", {}, () => testGetRuleListAfterS tartingRecording());
11 11
12 function testGetRuleListAfterStartingRecording() 12 function testGetRuleListAfterStartingRecording()
13 { 13 {
14 InspectorTest.sendCommandOrDie("CSS.startRuleUsageTracking", {}, () => 14 InspectorTest.sendCommandOrDie("CSS.startRuleUsageTracking", {}, () =>
15 { InspectorTest.sendCommandOrDie("CSS.sto pRuleUsageTracking", {}, ruleListLoaded); }); 15 { InspectorTest.sendCommandOrDie("CSS.sto pRuleUsageTracking", {}, ruleListLoaded); });
(...skipping 25 matching lines...) Expand all
41 </script> 41 </script>
42 <link rel="stylesheet" href="resources/coverage.css"> 42 <link rel="stylesheet" href="resources/coverage.css">
43 </head> 43 </head>
44 <body onload="runTest();"> 44 <body onload="runTest();">
45 <h1 class="class">Class Selector</h1> 45 <h1 class="class">Class Selector</h1>
46 <p id="id">ID Selector</p> 46 <p id="id">ID Selector</p>
47 <div></div> 47 <div></div>
48 48
49 </body> 49 </body>
50 </html> 50 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698