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

Unified Diff: third_party/WebKit/Source/devtools/front_end/extensions/ExtensionServer.js

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/Source/devtools/front_end/extensions/ExtensionServer.js
diff --git a/third_party/WebKit/Source/devtools/front_end/extensions/ExtensionServer.js b/third_party/WebKit/Source/devtools/front_end/extensions/ExtensionServer.js
index 433b41390379ee0ab8bc9439950e0cce475f6f75..06905974c5017c0c9bfd2489a341f9d04d3a1b4d 100644
--- a/third_party/WebKit/Source/devtools/front_end/extensions/ExtensionServer.js
+++ b/third_party/WebKit/Source/devtools/front_end/extensions/ExtensionServer.js
@@ -992,15 +992,15 @@ WebInspector.ExtensionServer.prototype = {
/**
* @param {?Protocol.Error} error
* @param {!RuntimeAgent.RemoteObject} result
- * @param {boolean=} wasThrown
+ * @param {!RuntimeAgent.ExceptionDetails=} exceptionDetails
*/
- function onEvalute(error, result, wasThrown)
+ function onEvalute(error, result, exceptionDetails)
{
if (error) {
- callback(error, null, wasThrown);
+ callback(error, null, !!exceptionDetails);
return;
}
- callback(error, target.runtimeModel.createRemoteObject(result), wasThrown);
+ callback(error, target.runtimeModel.createRemoteObject(result), !!exceptionDetails);
}
},

Powered by Google App Engine
This is Rietveld 408576698