| <html> |
| <head> |
| <script type="text/javascript" src="../../http/tests/inspector-protocol/resources/inspector-protocol-test.js"></script> |
| <script> |
| |
| function test() |
| { |
| InspectorTest.sendCommand("Runtime.evaluate", { "contextId": 0, "expression": "" }, evaluateCallback); |
| |
| function evaluateCallback(result) |
| { |
| result.id = 0; |
| InspectorTest.logObject(result); |
| InspectorTest.completeTest(); |
| } |
| } |
| </script> |
| </head> |
| <body onLoad="runTest();"> |
| Tests that DevTools doesn't crash on Runtime.evaluate with contextId equals 0. |
| </body> |
| </html> |