Chromium Code Reviews| 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("Runtime.evaluate", { "contextId": 0, "expression" : "" }, evaluateCallback); | |
| 9 | |
| 10 function evaluateCallback(result) | |
| 11 { | |
| 12 delete result.id; | |
| 13 InspectorTest.log(JSON.stringify(result)); | |
| 14 InspectorTest.completeTest(); | |
| 15 } | |
| 16 } | |
| 17 </script> | |
| 18 </head> | |
| 19 <body onLoad="runTest();"> | |
| 20 Tests that DevTools doesn't crash on Runtime.evaluate with contextId equals 0. | |
| 21 </body> | |
| 22 </html> | |
| OLD | NEW |