| Index: third_party/WebKit/LayoutTests/inspector-protocol/runtime/runtime-console-log-doesnt-run-microtasks.html
|
| diff --git a/third_party/WebKit/LayoutTests/inspector-protocol/runtime/runtime-console-log-doesnt-run-microtasks.html b/third_party/WebKit/LayoutTests/inspector-protocol/runtime/runtime-console-log-doesnt-run-microtasks.html
|
| index 73aa542ea3fe4bbdbc03dc0fe647367435c47afb..9c16c9af2c84293ce1468c424efe8e9bb2be780f 100644
|
| --- a/third_party/WebKit/LayoutTests/inspector-protocol/runtime/runtime-console-log-doesnt-run-microtasks.html
|
| +++ b/third_party/WebKit/LayoutTests/inspector-protocol/runtime/runtime-console-log-doesnt-run-microtasks.html
|
| @@ -12,15 +12,15 @@ function testFunction()
|
|
|
| function test()
|
| {
|
| - InspectorTest.sendCommandOrDie("Console.enable", {});
|
| - InspectorTest.eventHandler["Console.messageAdded"] = messageAdded;
|
| + InspectorTest.sendCommandOrDie("Runtime.enable", {});
|
| + InspectorTest.eventHandler["Runtime.consoleAPICalled"] = messageAdded;
|
| InspectorTest.sendCommandOrDie("Runtime.evaluate", { "expression": "testFunction()" });
|
| InspectorTest.sendCommandOrDie("Runtime.evaluate", { "expression": "setTimeout(() => console.log(\"finished\"), 0)" });
|
|
|
| function messageAdded(result)
|
| {
|
| - InspectorTest.logObject(result.params.message.parameters[0]);
|
| - if (result.params.message.parameters[0].value === "finished")
|
| + InspectorTest.logObject(result.params.args[0]);
|
| + if (result.params.args[0].value === "finished")
|
| InspectorTest.completeTest();
|
| }
|
| }
|
|
|