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

Unified Diff: third_party/WebKit/LayoutTests/inspector-protocol/worker/worker-console.html

Issue 2151273003: [DevTools] Move browser logging from Console domain to Log domain. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@internals-method
Patch Set: protocol improvements Created 4 years, 5 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/worker/worker-console.html
diff --git a/third_party/WebKit/LayoutTests/inspector-protocol/worker/worker-console.html b/third_party/WebKit/LayoutTests/inspector-protocol/worker/worker-console.html
index e3fcc4be048c93eabe6bdd5d4c28ed79337cd359..6abd358496424fe682752be0f0a8374d7da17d53 100644
--- a/third_party/WebKit/LayoutTests/inspector-protocol/worker/worker-console.html
+++ b/third_party/WebKit/LayoutTests/inspector-protocol/worker/worker-console.html
@@ -90,13 +90,13 @@ function test()
function logInWorker(message, next)
{
InspectorTest.log("Logging in worker: " + message);
- InspectorTest.eventHandler["Console.messageAdded"] = onConsoleMessage;
+ InspectorTest.eventHandler["Log.entryAdded"] = onLogEntry;
InspectorTest.evaluateInPage("logInWorkerFromPage(\"" + message + "\")");
- function onConsoleMessage(payload)
+ function onLogEntry(payload)
{
- InspectorTest.log("Got console message from page: " + payload.params.message.text);
- delete InspectorTest.eventHandler["Console.messageAdded"];
+ InspectorTest.log("Got log message from page: " + payload.params.entry.text);
+ delete InspectorTest.eventHandler["Log.entryAdded"];
next();
}
}
@@ -127,7 +127,7 @@ function test()
var steps = [
function listenToConsole(next)
{
- InspectorTest.sendCommandOrDie("Console.enable", {}, next);
+ InspectorTest.sendCommandOrDie("Log.enable", {}, next);
},
function start0(next)

Powered by Google App Engine
This is Rietveld 408576698