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 <link rel="stylesheet" type="text/css" href="resources/keyframes.css"></link> | 6 <link rel="stylesheet" type="text/css" href="resources/keyframes.css"></link> |
7 <script type="text/javascript"> | 7 <script type="text/javascript"> |
8 function test() | 8 function test() |
9 { | 9 { |
10 InspectorTest.sendCommandOrDie("DOM.enable", {}); | 10 InspectorTest.sendCommandOrDie("DOM.enable", {}); |
11 InspectorTest.sendCommandOrDie("CSS.enable", {}, onCSSEnabled); | 11 InspectorTest.sendCommandOrDie("CSS.enable", {}, onCSSEnabled); |
12 | 12 |
13 function onCSSEnabled() | 13 function onCSSEnabled() |
14 { | 14 { |
15 InspectorTest.sendCommandOrDie("DOM.getDocument", {}, onDocumentId); | 15 InspectorTest.sendCommandOrDie("DOM.getDocument", {}, onDocumentId); |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
54 } | 54 } |
55 } | 55 } |
56 } | 56 } |
57 | 57 |
58 </style> | 58 </style> |
59 </head> | 59 </head> |
60 <body onload="runTest()"> | 60 <body onload="runTest()"> |
61 <div id="element"></div> | 61 <div id="element"></div> |
62 </body> | 62 </body> |
63 </html> | 63 </html> |
OLD | NEW |