| OLD | NEW |
| 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 Loading... |
| 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> |
| OLD | NEW |