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

Unified Diff: Source/core/inspector/InjectedScriptHost.idl

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
« no previous file with comments | « Source/core/inspector/InjectedScriptExterns.js ('k') | Source/core/inspector/InjectedScriptSource.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/inspector/InjectedScriptHost.idl
diff --git a/Source/core/inspector/InjectedScriptHost.idl b/Source/core/inspector/InjectedScriptHost.idl
index 5dec0fc5601a36b62c383712f255d479615dfb7d..33c6817c242f3b0d3a70247850ae397968119975 100644
--- a/Source/core/inspector/InjectedScriptHost.idl
+++ b/Source/core/inspector/InjectedScriptHost.idl
@@ -43,7 +43,8 @@
[Custom] any functionDetails(any obj);
[Custom] any[] getInternalProperties(any obj);
[Custom] EventListener[] getEventListeners(EventTarget target);
- [Custom] any evaluate(DOMString text);
+ [Custom] any eval(DOMString text);
+ [Custom] any evaluateWithExceptionDetails(DOMString text);
[Custom] void debugFunction(any fn);
[Custom] void undebugFunction(any fn);
[Custom] void monitorFunction(any fn);
« no previous file with comments | « Source/core/inspector/InjectedScriptExterns.js ('k') | Source/core/inspector/InjectedScriptSource.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698