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

Unified Diff: third_party/WebKit/LayoutTests/inspector-protocol/console/console-let-const-with-api.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-protocol/console/console-let-const-with-api.html
diff --git a/third_party/WebKit/LayoutTests/inspector-protocol/console/console-let-const-with-api.html b/third_party/WebKit/LayoutTests/inspector-protocol/console/console-let-const-with-api.html
index c6c0b0da8997902acf5551a21fecb5d2ddec94f5..e1e592dd9be3524b8e7492d2587aae3ff49feb2a 100644
--- a/third_party/WebKit/LayoutTests/inspector-protocol/console/console-let-const-with-api.html
+++ b/third_party/WebKit/LayoutTests/inspector-protocol/console/console-let-const-with-api.html
@@ -10,15 +10,15 @@ function test()
function step2(response)
{
failIfError(response);
- InspectorTest.log("first \"let a = 1;\" result: wasThrown = " + response.result.wasThrown);
+ InspectorTest.log("first \"let a = 1;\" result: wasThrown = " + !!response.result.exceptionDetails);
InspectorTest.sendCommand("Runtime.evaluate", { expression: "let a = 239;" }, step3);
}
function step3(response)
{
failIfError(response);
- InspectorTest.log("second \"let a = 1;\" result: wasThrown = " + response.result.wasThrown);
- if (response.result.wasThrown)
+ InspectorTest.log("second \"let a = 1;\" result: wasThrown = " + !!response.result.exceptionDetails);
+ if (response.result.exceptionDetails)
InspectorTest.log("exception message: " + response.result.exceptionDetails.text);
InspectorTest.sendCommand("Runtime.evaluate", { expression: "a" }, step4);
}

Powered by Google App Engine
This is Rietveld 408576698