OLD | NEW |
1 <html> | 1 <html> |
2 <head> | 2 <head> |
3 <script type="text/javascript" src="../../http/tests/inspector-protocol/resource
s/protocol-test.js"></script> | 3 <script type="text/javascript" src="../../http/tests/inspector-protocol/inspecto
r-protocol-test.js"></script> |
4 <script> | 4 <script> |
5 | 5 |
6 function test() | 6 function test() |
7 { | 7 { |
8 var nodeInfo = {}; | 8 var nodeInfo = {}; |
9 InspectorTest.eventHandler["DOM.setChildNodes"] = setChildNodes; | 9 InspectorTest.eventHandler["DOM.setChildNodes"] = setChildNodes; |
10 InspectorTest.sendCommand("DOM.getNodeForLocation", { "x": 10, "y": 10 }, on
GetNodeForLocation); | 10 InspectorTest.sendCommand("DOM.getNodeForLocation", { "x": 10, "y": 10 }, on
GetNodeForLocation); |
11 | 11 |
12 function onGetNodeForLocation(message) | 12 function onGetNodeForLocation(message) |
13 { | 13 { |
(...skipping 16 matching lines...) Expand all Loading... |
30 } | 30 } |
31 } | 31 } |
32 } | 32 } |
33 | 33 |
34 </script> | 34 </script> |
35 </head> | 35 </head> |
36 <body onload="runTest()"> | 36 <body onload="runTest()"> |
37 <div style="position:absolute;top:0;left:0;width:100;height:100"></div> | 37 <div style="position:absolute;top:0;left:0;width:100;height:100"></div> |
38 </body> | 38 </body> |
39 </html> | 39 </html> |
OLD | NEW |