| Index: third_party/WebKit/LayoutTests/inspector-protocol/runtime/runtime-evaluate-with-context-id-equal-zero.html
|
| diff --git a/third_party/WebKit/LayoutTests/inspector-protocol/runtime/runtime-evaluate-in-default-context.html b/third_party/WebKit/LayoutTests/inspector-protocol/runtime/runtime-evaluate-with-context-id-equal-zero.html
|
| similarity index 57%
|
| copy from third_party/WebKit/LayoutTests/inspector-protocol/runtime/runtime-evaluate-in-default-context.html
|
| copy to third_party/WebKit/LayoutTests/inspector-protocol/runtime/runtime-evaluate-with-context-id-equal-zero.html
|
| index b500422ae656b4621c4a60f3a80512fb262a0805..e2e2b98a9809975a6db6e9a48f59d077ffee0398 100644
|
| --- a/third_party/WebKit/LayoutTests/inspector-protocol/runtime/runtime-evaluate-in-default-context.html
|
| +++ b/third_party/WebKit/LayoutTests/inspector-protocol/runtime/runtime-evaluate-with-context-id-equal-zero.html
|
| @@ -5,7 +5,7 @@
|
|
|
| function test()
|
| {
|
| - InspectorTest.sendCommand("Runtime.evaluate", { "expression": "window.a" }, evaluateCallback);
|
| + InspectorTest.sendCommand("Runtime.evaluate", { "contextId": 0, "expression": "" }, evaluateCallback);
|
|
|
| function evaluateCallback(result)
|
| {
|
| @@ -16,8 +16,7 @@ function test()
|
| }
|
| </script>
|
| </head>
|
| -<body>
|
| -Tests that default execution context is selected correctly.
|
| -<iframe src="resources/runtime-events-iframe.html" onLoad="runTest();"></iframe>
|
| +<body onLoad="runTest();">
|
| +Tests that DevTools doesn't crash on Runtime.evaluate with contextId equals 0.
|
| </body>
|
| </html>
|
|
|