Upstream version 9.38.198.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / Source / core / inspector / InjectedScriptHost.idl
index 5dec0fc..018f9d2 100644 (file)
  */
 
 [
+    WillBeGarbageCollected,
     NoInterfaceObject
 ] interface InjectedScriptHost {
-    void clearConsoleMessages();
+    [NotEnumerable, Unforgeable] void clearConsoleMessages();
 
-    [Custom] void inspect(any objectId, any hints);
-    [Custom] any inspectedObject(long num);
-    [Custom] any internalConstructorName(any obj);
-    [Custom] boolean isHTMLAllCollection(any obj);
-    [Custom] DOMString type(any obj);
-    [Custom] any functionDetails(any obj);
-    [Custom] any[] getInternalProperties(any obj);
-    [Custom] EventListener[] getEventListeners(EventTarget target);
-    [Custom] any evaluate(DOMString text);
-    [Custom] void debugFunction(any fn);
-    [Custom] void undebugFunction(any fn);
-    [Custom] void monitorFunction(any fn);
-    [Custom] void unmonitorFunction(any fn);
-    [Custom] any suppressWarningsAndCall(any receiver, any fn, any param1, any param2);
+    [NotEnumerable, Unforgeable, Custom] void inspect(any objectId, any hints);
+    [NotEnumerable, Unforgeable, Custom] any inspectedObject(long num);
+    [NotEnumerable, Unforgeable, Custom] any internalConstructorName(any obj);
+    [NotEnumerable, Unforgeable, Custom] boolean isHTMLAllCollection(any obj);
+    [NotEnumerable, Unforgeable, Custom] DOMString type(any obj);
+    [NotEnumerable, Unforgeable, Custom] any functionDetails(any obj);
+    [NotEnumerable, Unforgeable, Custom] any[] getInternalProperties(any obj);
+    [NotEnumerable, Unforgeable, Custom] EventListener[] getEventListeners(EventTarget target);
+    [NotEnumerable, Unforgeable, Custom] any eval(DOMString text);
+    [NotEnumerable, Unforgeable, Custom] any evaluateWithExceptionDetails(DOMString text);
+    [NotEnumerable, Unforgeable, Custom] void debugFunction(any fn);
+    [NotEnumerable, Unforgeable, Custom] void undebugFunction(any fn);
+    [NotEnumerable, Unforgeable, Custom] void monitorFunction(any fn);
+    [NotEnumerable, Unforgeable, Custom] void unmonitorFunction(any fn);
+    [NotEnumerable, Unforgeable, Custom] any callFunction(any fn, any receiver, any[] argv);
+    [NotEnumerable, Unforgeable, Custom] any suppressWarningsAndCallFunction(any fn, any receiver, any[] argv);
 
     // Only declarative scope (local, with and catch) is accepted. Returns undefined.
-    [Custom] any setFunctionVariableValue(any functionObject, long scopeIndex, DOMString variableName, any newValue);
+    [NotEnumerable, Unforgeable, Custom] any setFunctionVariableValue(any functionObject, long scopeIndex, DOMString variableName, any newValue);
 };