| OLD | NEW |
| (Empty) |
| 1 <html> | |
| 2 <head> | |
| 3 <script type="text/javascript" src="../../http/tests/inspector-protocol/inspecto
r-protocol-test.js"></script> | |
| 4 <script> | |
| 5 | |
| 6 function test() | |
| 7 { | |
| 8 InspectorTest.sendCommand("Debugger.enable", { }); | |
| 9 InspectorTest.sendCommand("Runtime.evaluate", { "expression": "document.quer
ySelector('object')" }, callbackEvaluate); | |
| 10 | |
| 11 function callbackEvaluate(result) | |
| 12 { | |
| 13 InspectorTest.sendCommand("Debugger.getFunctionDetails", { "functionId":
result.result.result.objectId }, callbackGetFunctionDetails); | |
| 14 } | |
| 15 | |
| 16 function callbackGetFunctionDetails(result) | |
| 17 { | |
| 18 InspectorTest.log(JSON.stringify(result.result, null, 4)); | |
| 19 InspectorTest.completeTest(); | |
| 20 } | |
| 21 } | |
| 22 </script> | |
| 23 </head> | |
| 24 <body onLoad="runTest();"> | |
| 25 <object type="application/pdf" data="data:text/plain,"></object> | |
| 26 </body> | |
| 27 </html> | |
| OLD | NEW |