OLD | NEW |
1 <html> | 1 <html> |
2 <head> | 2 <head> |
3 <meta charset="utf8"> | 3 <meta charset="utf8"> |
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> | 5 <script> |
6 | 6 |
7 function test() | 7 function test() |
8 { | 8 { |
9 InspectorTest.sendCommand("DOM.getDocument", {}, onGotDocument); | 9 InspectorTest.sendCommand("DOM.getDocument", {}, onGotDocument); |
10 | 10 |
11 var bodyId; | 11 var bodyId; |
12 function onGotDocument(msg) | 12 function onGotDocument(msg) |
13 { | 13 { |
14 if (InspectorTest.completeTestIfError(msg)) | 14 if (InspectorTest.completeTestIfError(msg)) |
(...skipping 29 matching lines...) Expand all Loading... |
44 } | 44 } |
45 } | 45 } |
46 | 46 |
47 </script> | 47 </script> |
48 </head> | 48 </head> |
49 <body onload="runTest()"> | 49 <body onload="runTest()"> |
50 <div id="id">Привет мир</div> | 50 <div id="id">Привет мир</div> |
51 <div>Привет мир 2</div> | 51 <div>Привет мир 2</div> |
52 </body> | 52 </body> |
53 </html> | 53 </html> |
OLD | NEW |