Index: inspector/InjectedScriptHost.idl |
=================================================================== |
--- inspector/InjectedScriptHost.idl (revision 20375) |
+++ inspector/InjectedScriptHost.idl (working copy) |
@@ -46,9 +46,18 @@ |
[Custom] Array getInternalProperties(in any object); |
[Custom] Array getEventListeners(in Node node); |
+ // FIXME: Remove evaluateReturnsEvalFunction once InjectedScriptHost returns eval in evaluate on V8. https://webkit.org/b/113134 |
+ readonly attribute boolean evaluateReturnsEvalFunction; |
+ |
+#if defined(V8_BINDING) && V8_BINDING |
+ [Custom] any evaluate(in DOMString text); |
+#else |
+ [Custom] readonly attribute any evaluate; |
+#endif |
+ |
[Custom] DOMString databaseId(in any database); |
[Custom] DOMString storageId(in any storage); |
- [Custom] any evaluate(in DOMString text); |
+ |
// Only declarative scope (local, with and catch) is accepted. Returns undefined. |
[Custom] any setFunctionVariableValue(in any functionObject, in int scopeIndex, in DOMString variableName, any newValue); |
}; |