| Index: third_party/WebKit/LayoutTests/inspector/console/console-revoke-error-in-worker.html
|
| diff --git a/third_party/WebKit/LayoutTests/inspector/console/console-revoke-error-in-worker.html b/third_party/WebKit/LayoutTests/inspector/console/console-revoke-error-in-worker.html
|
| index 341c25c62d64d3f1526c2762267095de2ccf14cf..afed3d41c67e52f337c2c71456c62de62272a540 100644
|
| --- a/third_party/WebKit/LayoutTests/inspector/console/console-revoke-error-in-worker.html
|
| +++ b/third_party/WebKit/LayoutTests/inspector/console/console-revoke-error-in-worker.html
|
| @@ -18,8 +18,8 @@ function handlePromiseRejection()
|
|
|
| function test()
|
| {
|
| - SDK.consoleModel.addEventListener(SDK.ConsoleModel.Events.MessageAdded, InspectorTest.wrapListener(messageAdded));
|
| - SDK.consoleModel.addEventListener(SDK.ConsoleModel.Events.MessageUpdated, InspectorTest.wrapListener(messageUpdated));
|
| + ConsoleModel.consoleModel.addEventListener(ConsoleModel.ConsoleModel.Events.MessageAdded, InspectorTest.wrapListener(messageAdded));
|
| + ConsoleModel.consoleModel.addEventListener(ConsoleModel.ConsoleModel.Events.MessageUpdated, InspectorTest.wrapListener(messageUpdated));
|
|
|
| InspectorTest.addResult("Creating worker with promise");
|
| InspectorTest.evaluateInPageWithTimeout("createPromise()");
|
| @@ -29,7 +29,7 @@ function test()
|
| InspectorTest.addResult("");
|
| InspectorTest.addResult("Message added: " + event.data.level + " " + event.data.type);
|
|
|
| - if (event.data.level === SDK.ConsoleMessage.MessageLevel.Error) {
|
| + if (event.data.level === ConsoleModel.ConsoleMessage.MessageLevel.Error) {
|
| InspectorTest.dumpConsoleCounters();
|
| InspectorTest.addResult("");
|
| InspectorTest.addResult("Handling promise");
|
|
|