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", {}, function(messageObject)
{ | 12 InspectorTest.sendCommand("DOM.getDocument", {}, function(messageObject)
{ |
13 if (messageObject.hasOwnProperty("error")) | 13 if (messageObject.hasOwnProperty("error")) |
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
97 <div id="depth-1"> | 97 <div id="depth-1"> |
98 <div id="depth-2"> | 98 <div id="depth-2"> |
99 <div id="depth-3"> | 99 <div id="depth-3"> |
100 <iframe src="resources/iframe.html"></iframe> | 100 <iframe src="resources/iframe.html"></iframe> |
101 </div> | 101 </div> |
102 </div> | 102 </div> |
103 </div> | 103 </div> |
104 | 104 |
105 </body> | 105 </body> |
106 </html> | 106 </html> |
OLD | NEW |