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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/inspector-protocol/access-inspected-object.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/http/tests/inspector-protocol/access-inspected-object.html
diff --git a/third_party/WebKit/LayoutTests/http/tests/inspector-protocol/access-inspected-object.html b/third_party/WebKit/LayoutTests/http/tests/inspector-protocol/access-inspected-object.html
index 6b54d769abea73d517ea019cfe2bb7321daabdd2..d8b1d719ec1475d2ee32f9c1834a82e764f88caf 100644
--- a/third_party/WebKit/LayoutTests/http/tests/inspector-protocol/access-inspected-object.html
+++ b/third_party/WebKit/LayoutTests/http/tests/inspector-protocol/access-inspected-object.html
@@ -57,7 +57,7 @@ function test()
function didEvaluate(messageObject)
{
- if (messageObject.result.wasThrown)
+ if (!!messageObject.result.exceptionDetails)
InspectorTest.log("FAIL: unexpected exception: " + JSON.stringify(messageObject, null, 2));
if (messageObject.result.result.value !== null)
InspectorTest.log("FAIL: unexpected value: " + JSON.stringify(messageObject, null, 2));

Powered by Google App Engine
This is Rietveld 408576698