| 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"> | 4 <script type="text/javascript"> |
| 5 | 5 |
| 6 function test() | 6 function test() |
| 7 { | 7 { |
| 8 getDocument(); | 8 getDocument(); |
| 9 | 9 |
| 10 function getDocument() | 10 function getDocument() |
| 11 { | 11 { |
| 12 InspectorTest.sendCommand("DOM.getDocument", {"depth": -1}, function(mes
sageObject) { | 12 InspectorTest.sendCommand("DOM.getDocument", {"depth": -1}, function(mes
sageObject) { |
| 13 if (messageObject.hasOwnProperty("error")) | 13 if (messageObject.hasOwnProperty("error")) |
| (...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 74 <div id="depth-2"> | 74 <div id="depth-2"> |
| 75 <div id="depth-3"> | 75 <div id="depth-3"> |
| 76 <iframe src="resources/shadow-dom-iframe.html"></iframe> | 76 <iframe src="resources/shadow-dom-iframe.html"></iframe> |
| 77 </div> | 77 </div> |
| 78 </div> | 78 </div> |
| 79 <div id="targetDiv"></div> | 79 <div id="targetDiv"></div> |
| 80 </div> | 80 </div> |
| 81 | 81 |
| 82 </body> | 82 </body> |
| 83 </html> | 83 </html> |
| OLD | NEW |