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

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

Issue 136333007: DevTools: Implement evaluation on async call frames. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 11 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/JavaScriptCallFrame.idl
diff --git a/Source/core/inspector/JavaScriptCallFrame.idl b/Source/core/inspector/JavaScriptCallFrame.idl
index 1afad5a6d6144bb0b9f36ec55687111dcb4cd56d..f1b2d978e932ed0933b21e54c121e74f4ad1e8ba 100644
--- a/Source/core/inspector/JavaScriptCallFrame.idl
+++ b/Source/core/inspector/JavaScriptCallFrame.idl
@@ -35,7 +35,8 @@
const unsigned short CLOSURE_SCOPE = 3;
const unsigned short CATCH_SCOPE = 4;
- [Custom] void evaluate(DOMString script);
+ any evaluate(DOMString script, [Default=Undefined] optional any contextExtension);
+ any evaluateGlobal(DOMString script, [Default=Undefined] optional any contextExtension);
[Custom] any restart();
// Only declarative scope (local, with and catch) is accepted. Returns undefined.

Powered by Google App Engine
This is Rietveld 408576698