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) |