| OLD | NEW |
| 1 <html> | 1 <html> |
| 2 <head> | 2 <head> |
| 3 <link rel="stylesheet" href="resources/set-style-text.css"/> | 3 <link rel="stylesheet" href="resources/set-style-text.css"/> |
| 4 <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/resource
s/inspector-protocol-test.js"></script> |
| 5 <script type="text/javascript" src="../../http/tests/inspector-protocol/css-prot
ocol-test.js"></script> | 5 <script type="text/javascript" src="../resources/css-protocol-test.js"></script> |
| 6 <script type="text/javascript" src="../../http/tests/inspector-protocol/dom-prot
ocol-test.js"></script> | 6 <script type="text/javascript" src="../resources/dom-protocol-test.js"></script> |
| 7 <script type="text/javascript"> | 7 <script type="text/javascript"> |
| 8 function test() | 8 function test() |
| 9 { | 9 { |
| 10 var styleSheetId; | 10 var styleSheetId; |
| 11 var documentNodeId; | 11 var documentNodeId; |
| 12 var setStyleTexts; | 12 var setStyleTexts; |
| 13 var verifyProtocolError; | 13 var verifyProtocolError; |
| 14 | 14 |
| 15 InspectorTest.sendCommandOrDie("DOM.enable", {}); | 15 InspectorTest.sendCommandOrDie("DOM.enable", {}); |
| 16 InspectorTest.sendCommandOrDie("CSS.enable", {}, cssWasEnabled); | 16 InspectorTest.sendCommandOrDie("CSS.enable", {}, cssWasEnabled); |
| (...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 99 ]; | 99 ]; |
| 100 } | 100 } |
| 101 | 101 |
| 102 </script> | 102 </script> |
| 103 </head> | 103 </head> |
| 104 <body onload="runTest();"> | 104 <body onload="runTest();"> |
| 105 <p>The test verifies functionality of protocol method CSS.setStyleTexts for inli
ne elements.</p> | 105 <p>The test verifies functionality of protocol method CSS.setStyleTexts for inli
ne elements.</p> |
| 106 <div id="inliner" style="color: red;"> | 106 <div id="inliner" style="color: red;"> |
| 107 </body> | 107 </body> |
| 108 </html> | 108 </html> |
| OLD | NEW |