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

Unified Diff: third_party/WebKit/LayoutTests/inspector/local-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/inspector/local-object.html
diff --git a/third_party/WebKit/LayoutTests/inspector/local-object.html b/third_party/WebKit/LayoutTests/inspector/local-object.html
index feb054e9ac2b5635d8e30dac50e6ad79cee0f3c8..265f6285c356a28487079a817f53c4e010431d04 100644
--- a/third_party/WebKit/LayoutTests/inspector/local-object.html
+++ b/third_party/WebKit/LayoutTests/inspector/local-object.html
@@ -26,14 +26,14 @@ function test()
return "Done";
}
- function compareAndSwapCallback(result, wasThrown)
+ function compareAndSwapCallback(result)
{
InspectorTest.addResult("compareAndSwap(1, 28, 42) result: " + result.description);
}
- function exceptionCallback(result, wasThrown)
+ function exceptionCallback(result, exceptionDetails)
{
- InspectorTest.addResult("compareAndSwap(1, 28, 42) throws exception: " + wasThrown);
+ InspectorTest.addResult("compareAndSwap(1, 28, 42) throws exception: " + !!exceptionDetails);
}
function guessWhat()
@@ -41,7 +41,7 @@ function test()
return 42;
}
- function guessWhatCallback(result, wasThrown)
+ function guessWhatCallback(result)
{
InspectorTest.addResult("guessWhat() result: " + result.description);
}

Powered by Google App Engine
This is Rietveld 408576698