| 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="css-protocol-test.js"></script> | 4 <script type="text/javascript" src="css-protocol-test.js"></script> |
| 5 <script type="text/javascript"> | 5 <script type="text/javascript"> |
| 6 function test() | 6 function test() |
| 7 { | 7 { |
| 8 InspectorTest.eventHandler["CSS.styleSheetAdded"] = styleSheetAdded; | 8 InspectorTest.eventHandler["CSS.styleSheetAdded"] = styleSheetAdded; |
| 9 InspectorTest.sendCommandOrDie("DOM.enable", {}); |
| 9 InspectorTest.sendCommandOrDie("CSS.enable", {}); | 10 InspectorTest.sendCommandOrDie("CSS.enable", {}); |
| 10 | 11 |
| 11 var setRuleSelector; | 12 var setRuleSelector; |
| 12 var verifyProtocolError; | 13 var verifyProtocolError; |
| 13 var dumpStyleSheet; | 14 var dumpStyleSheet; |
| 14 | 15 |
| 15 var firstSelectorRange = { | 16 var firstSelectorRange = { |
| 16 startLine: 0, | 17 startLine: 0, |
| 17 startColumn: 0, | 18 startColumn: 0, |
| 18 endLine: 0, | 19 endLine: 0, |
| (...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 168 }, | 169 }, |
| 169 ]; | 170 ]; |
| 170 } | 171 } |
| 171 | 172 |
| 172 </script> | 173 </script> |
| 173 <link rel="stylesheet" href="resources/set-rule-selector.css"/> | 174 <link rel="stylesheet" href="resources/set-rule-selector.css"/> |
| 174 </head> | 175 </head> |
| 175 <body onload="runTest();"> | 176 <body onload="runTest();"> |
| 176 </body> | 177 </body> |
| 177 </html> | 178 </html> |
| OLD | NEW |