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

Unified Diff: Source/core/inspector/InjectedScriptExterns.js

Issue 289423002: DevTools: added injectedScript.evaluateWithDetails, that return exception details if it occured (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 5 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: Source/core/inspector/InjectedScriptExterns.js
diff --git a/Source/core/inspector/InjectedScriptExterns.js b/Source/core/inspector/InjectedScriptExterns.js
index a96a33090c0fdc6be17c9a4e1cce9966c85ecb0a..81ac85c3769be278a77478f8ce098d5ba98d710f 100644
--- a/Source/core/inspector/InjectedScriptExterns.js
+++ b/Source/core/inspector/InjectedScriptExterns.js
@@ -87,7 +87,11 @@ InjectedScriptHostClass.prototype.getEventListeners = function(object) { }
/**
* @param {string} expression
*/
-InjectedScriptHostClass.prototype.evaluate = function(expression) { }
+InjectedScriptHostClass.prototype.eval = function(expression) { }
+/**
+ * @param {string} expression
+ */
+InjectedScriptHostClass.prototype.evaluateWithExceptionDetails = function(expression) { }
/**
* @param {*} fn
*/
@@ -143,7 +147,10 @@ function JavaScriptCallFrame()
JavaScriptCallFrame.prototype.scopeType = function(index) { }
JavaScriptCallFrame.prototype.restart = function() { }
-
+/**
+ * @param {string} expression
+ */
+JavaScriptCallFrame.prototype.evaluateWithExceptionDetails = function(expression) { }
/**
* @param {number} scopeNumber
* @param {string} variableName
« no previous file with comments | « Source/core/inspector/InjectedScriptCanvasModuleSource.js ('k') | Source/core/inspector/InjectedScriptHost.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698