| 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.eventHandler["Overlay.inspectNodeRequested"] = inspectNodeRequ
ested; | 10 InspectorTest.eventHandler["Overlay.inspectNodeRequested"] = inspectNodeRequ
ested; |
| 11 InspectorTest.sendCommand("DOM.enable", {}); | 11 InspectorTest.sendCommand("DOM.enable", {}); |
| 12 InspectorTest.sendCommand("Overlay.enable", {}); | 12 InspectorTest.sendCommand("Overlay.enable", {}); |
| 13 InspectorTest.sendCommand("Overlay.setInspectMode", { "mode": "searchForNode
", highlightConfig: {} }, onSetModeEnabled); | 13 InspectorTest.sendCommand("Overlay.setInspectMode", { "mode": "searchForNode
", highlightConfig: {} }, onSetModeEnabled); |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 45 InspectorTest.completeTest(); | 45 InspectorTest.completeTest(); |
| 46 } | 46 } |
| 47 } | 47 } |
| 48 | 48 |
| 49 </script> | 49 </script> |
| 50 </head> | 50 </head> |
| 51 <body onload="runTest()"> | 51 <body onload="runTest()"> |
| 52 <div style="position:absolute;top:100;left:100;width:100;height:100;background:b
lack"></div> | 52 <div style="position:absolute;top:100;left:100;width:100;height:100;background:b
lack"></div> |
| 53 </body> | 53 </body> |
| 54 </html> | 54 </html> |
| OLD | NEW |