Index: third_party/WebKit/LayoutTests/inspector-protocol/runtime/runtime-evaluate-with-context-id-equal-zero.js |
diff --git a/third_party/WebKit/LayoutTests/inspector-protocol/runtime/runtime-evaluate-with-context-id-equal-zero.js b/third_party/WebKit/LayoutTests/inspector-protocol/runtime/runtime-evaluate-with-context-id-equal-zero.js |
new file mode 100644 |
index 0000000000000000000000000000000000000000..8d35b9c92107fa083852998fe54a3acb12a541b1 |
--- /dev/null |
+++ b/third_party/WebKit/LayoutTests/inspector-protocol/runtime/runtime-evaluate-with-context-id-equal-zero.js |
@@ -0,0 +1,5 @@ |
+(async function(testRunner) { |
+ let {page, session, dp} = await testRunner.startBlank(`Tests that DevTools doesn't crash on Runtime.evaluate with contextId equals 0.`); |
+ testRunner.logMessage(await dp.Runtime.evaluate({contextId: 0, expression: '' })); |
+ testRunner.completeTest(); |
+}) |