Index: third_party/WebKit/LayoutTests/inspector-protocol/debugger/step-over-caught-exception.html |
diff --git a/third_party/WebKit/LayoutTests/inspector-protocol/debugger/step-over-caught-exception.html b/third_party/WebKit/LayoutTests/inspector-protocol/debugger/step-over-caught-exception.html |
index ae5496198e60a90483bac77b90901fd4f9b6a921..98036651fcaf83d4044d95158e0fe296b29e0c0e 100644 |
--- a/third_party/WebKit/LayoutTests/inspector-protocol/debugger/step-over-caught-exception.html |
+++ b/third_party/WebKit/LayoutTests/inspector-protocol/debugger/step-over-caught-exception.html |
@@ -20,7 +20,7 @@ function testFunction() |
function test() |
{ |
InspectorTest.sendCommandOrDie("Debugger.enable", {} ); |
- InspectorTest.sendCommandOrDie("Console.enable", {} ); |
+ InspectorTest.sendCommandOrDie("Runtime.enable", {} ); |
step1(); |
function step1() |
@@ -40,9 +40,9 @@ function test() |
InspectorTest.sendCommandOrDie("Debugger." + command, {}); |
} |
- InspectorTest.eventHandler["Console.messageAdded"] = function(messageObject) |
+ InspectorTest.eventHandler["Runtime.consoleAPICalled"] = function(messageObject) |
{ |
- if (messageObject.params.message.text === "completed") { |
+ if (messageObject.params.args[0].value === "completed") { |
if (commands.length) |
InspectorTest.log("[FAIL]: execution was resumed too earlier.") |
step2(); |
@@ -67,9 +67,9 @@ function test() |
InspectorTest.sendCommandOrDie("Debugger." + command, {}); |
} |
- InspectorTest.eventHandler["Console.messageAdded"] = function(messageObject) |
+ InspectorTest.eventHandler["Runtime.consoleAPICalled"] = function(messageObject) |
{ |
- if (messageObject.params.message.text === "completed") { |
+ if (messageObject.params.args[0].value === "completed") { |
if (commands.length) |
InspectorTest.log("[FAIL]: execution was resumed too earlier.") |
InspectorTest.completeTest(); |