| 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.eventHandler["DOM.inspectNodeRequested"] = inspectNodeRequeste
d; | 10 InspectorTest.eventHandler["DOM.inspectNodeRequested"] = inspectNodeRequeste
d; |
| 11 InspectorTest.sendCommand("DOM.setInspectModeEnabled", { "enabled": true, hi
ghlightConfig: {} }, onSetModeEnabled); | 11 InspectorTest.sendCommand("DOM.setInspectModeEnabled", { "enabled": true, hi
ghlightConfig: {} }, onSetModeEnabled); |
| 12 | 12 |
| 13 function onSetModeEnabled(message) | 13 function onSetModeEnabled(message) |
| (...skipping 24 matching lines...) Expand all Loading... |
| 38 InspectorTest.completeTest(); | 38 InspectorTest.completeTest(); |
| 39 } | 39 } |
| 40 } | 40 } |
| 41 | 41 |
| 42 </script> | 42 </script> |
| 43 </head> | 43 </head> |
| 44 <body onload="runTest()"> | 44 <body onload="runTest()"> |
| 45 <div style="position:absolute;top:100;left:100;width:100;height:100;background:b
lack"></div> | 45 <div style="position:absolute;top:100;left:100;width:100;height:100;background:b
lack"></div> |
| 46 </body> | 46 </body> |
| 47 </html> | 47 </html> |
| OLD | NEW |