Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(226)

Unified Diff: third_party/WebKit/LayoutTests/inspector-protocol/runtime/runtime-console-line-and-column.js

Issue 2954093003: [DevTools] Migrate inspector-protocol/runtime tests to new harness (Closed)
Patch Set: fail: Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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();
+})

Powered by Google App Engine
This is Rietveld 408576698