Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2)

Unified Diff: third_party/WebKit/LayoutTests/inspector-protocol/debugger/step-over-caught-exception.html

Issue 2139543002: [DevTools] Report console API calls through Runtime. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebased Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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();

Powered by Google App Engine
This is Rietveld 408576698