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

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

Issue 2203073004: [DevTools] Add awaitPromise flag to Runtime.runScript (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@make-call-function-on-async
Patch Set: fixed executionContextId=0 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 49d68663899e246b91c449bc7d33d2e64724ff3d..6ace3060bac30488af679cc46cb1a91b57642001 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,9 +41,8 @@ var test = function()
InspectorTest.RuntimeAgent.runScript(scriptId, contextId, "console", false, runCallback.bind(this));
}
- function runCallback(error, result, exceptionDetails)
+ function runCallback(error, result, wasThrown, exceptionDetails)
{
- var wasThrown = !!exceptionDetails;
InspectorTest.assertTrue(!error);
InspectorTest.assertTrue(!wasThrown);
InspectorTest.addResult("Script result: " + result.value);
@@ -66,9 +65,8 @@ var test = function()
InspectorTest.RuntimeAgent.runScript(scriptId, contextId, "console", false, runCallback.bind(this));
}
- function runCallback(error, result, exceptionDetails)
+ function runCallback(error, result, wasThrown, exceptionDetails)
{
- var wasThrown = !!exceptionDetails;
InspectorTest.assertTrue(!error);
InspectorTest.assertTrue(wasThrown);
printExceptionDetails(exceptionDetails);

Powered by Google App Engine
This is Rietveld 408576698