| 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..8473cc8d8db32bb535cf11f668e1a215b84d909e 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.messageLogged"] = onConsoleMessage;
|
| InspectorTest.evaluateInPage("logInWorkerFromPage(\"" + message + "\")");
|
|
|
| function onConsoleMessage(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.message.text);
|
| + delete InspectorTest.eventHandler["Log.messageLogged"];
|
| 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)
|
|
|