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

Unified Diff: third_party/WebKit/LayoutTests/inspector/sources/debugger/debugger-compile-and-run.html

Issue 2234983002: [DevTools] Removed wasThrown from evaluate-like protocol methods (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: a Created 4 years, 4 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/sources/debugger/debugger-compile-and-run.html
diff --git a/third_party/WebKit/LayoutTests/inspector/sources/debugger/debugger-compile-and-run.html b/third_party/WebKit/LayoutTests/inspector/sources/debugger/debugger-compile-and-run.html
index 6ace3060bac30488af679cc46cb1a91b57642001..15d23ff089afbc8e939ec2b986e3800213c35aca 100644
--- a/third_party/WebKit/LayoutTests/inspector/sources/debugger/debugger-compile-and-run.html
+++ b/third_party/WebKit/LayoutTests/inspector/sources/debugger/debugger-compile-and-run.html
@@ -41,10 +41,10 @@ var test = function()
InspectorTest.RuntimeAgent.runScript(scriptId, contextId, "console", false, runCallback.bind(this));
}
- function runCallback(error, result, wasThrown, exceptionDetails)
+ function runCallback(error, result, exceptionDetails)
{
InspectorTest.assertTrue(!error);
- InspectorTest.assertTrue(!wasThrown);
+ InspectorTest.assertTrue(!exceptionDetails);
InspectorTest.addResult("Script result: " + result.value);
next();
}
@@ -65,10 +65,10 @@ var test = function()
InspectorTest.RuntimeAgent.runScript(scriptId, contextId, "console", false, runCallback.bind(this));
}
- function runCallback(error, result, wasThrown, exceptionDetails)
+ function runCallback(error, result, exceptionDetails)
{
InspectorTest.assertTrue(!error);
- InspectorTest.assertTrue(wasThrown);
+ InspectorTest.assertTrue(!!exceptionDetails);
printExceptionDetails(exceptionDetails);
next();
}

Powered by Google App Engine
This is Rietveld 408576698