Index: third_party/WebKit/LayoutTests/inspector-protocol/runtime/runtime-console-line-and-column.js |
diff --git a/third_party/WebKit/LayoutTests/inspector-protocol/runtime/runtime-console-line-and-column.js b/third_party/WebKit/LayoutTests/inspector-protocol/runtime/runtime-console-line-and-column.js |
new file mode 100644 |
index 0000000000000000000000000000000000000000..dadc4fe7a5ec3de65ad2b3b3ecfb075fcd236362 |
--- /dev/null |
+++ b/third_party/WebKit/LayoutTests/inspector-protocol/runtime/runtime-console-line-and-column.js |
@@ -0,0 +1,11 @@ |
+(async function(testRunner) { |
+ let {page, session, dp} = await testRunner.startBlank(``); |
+ |
+ dp.Runtime.enable(); |
+ |
+ dp.Runtime.evaluate({ expression: 'console.log(239)' }); |
+ testRunner.logMessage(await dp.Runtime.onceConsoleAPICalled()); |
+ dp.Runtime.evaluate({ expression: 'var l = console.log;\n l(239)' }); |
+ testRunner.logMessage(await dp.Runtime.onceConsoleAPICalled()); |
+ testRunner.completeTest(); |
+}) |