| 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/inspecto
r-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="../../http/tests/inspector-protocol/css-prot
ocol-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="../../http/tests/inspector-protocol/dom-prot
ocol-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()); |
| (...skipping 21 matching lines...) Expand all Loading... |
| 32 | 32 |
| 33 InspectorTest.log("Unused rules offsets: " + unusedLines.length); | 33 InspectorTest.log("Unused rules offsets: " + unusedLines.length); |
| 34 for (var line of unusedLines) | 34 for (var line of unusedLines) |
| 35 InspectorTest.log(line.startOffset); | 35 InspectorTest.log(line.startOffset); |
| 36 | 36 |
| 37 InspectorTest.completeTest(); | 37 InspectorTest.completeTest(); |
| 38 } | 38 } |
| 39 } | 39 } |
| 40 | 40 |
| 41 </script> | 41 </script> |
| 42 <link rel="stylesheet" href="resources/get-rule-list.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 |