| 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> | 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.enable", {}); | 10 InspectorTest.sendCommand("DOM.enable", {}); |
| 11 InspectorTest.sendCommand("DOM.getNodeForLocation", { "x": 10, "y": 10, "inc
ludeUserAgentShadowDOM": false }, onGetNodeForLocation); | 11 InspectorTest.sendCommand("DOM.getNodeForLocation", { "x": 10, "y": 10, "inc
ludeUserAgentShadowDOM": false }, onGetNodeForLocation); |
| 12 | 12 |
| 13 function onGetNodeForLocation(message) | 13 function onGetNodeForLocation(message) |
| (...skipping 19 matching lines...) Expand all Loading... |
| 33 } | 33 } |
| 34 | 34 |
| 35 </script> | 35 </script> |
| 36 </head> | 36 </head> |
| 37 <body onload="runTest()"> | 37 <body onload="runTest()"> |
| 38 <form action="#"> | 38 <form action="#"> |
| 39 <input type="text" style="position:absolute;top:0;left:0;width:100;height:10
0" /> | 39 <input type="text" style="position:absolute;top:0;left:0;width:100;height:10
0" /> |
| 40 </form> | 40 </form> |
| 41 </body> | 41 </body> |
| 42 </html> | 42 </html> |
| OLD | NEW |