Commit 7c0ba138 authored by aandrey@chromium.org's avatar aandrey@chromium.org

DevTools: Make all InjectedScriptHost's properties non-configurable.

R=yurys

Review URL: https://codereview.chromium.org/450303002

git-svn-id: svn://svn.chromium.org/blink/trunk@179848 bbb929c8-8fbe-4397-9dbb-9b2b20218538
parent 28c13a31
...@@ -34,25 +34,25 @@ ...@@ -34,25 +34,25 @@
WillBeGarbageCollected, WillBeGarbageCollected,
NoInterfaceObject NoInterfaceObject
] interface InjectedScriptHost { ] interface InjectedScriptHost {
void clearConsoleMessages(); [NotEnumerable, Unforgeable] void clearConsoleMessages();
[Custom] void inspect(any objectId, any hints); [NotEnumerable, Unforgeable, Custom] void inspect(any objectId, any hints);
[Custom] any inspectedObject(long num); [NotEnumerable, Unforgeable, Custom] any inspectedObject(long num);
[Custom] any internalConstructorName(any obj); [NotEnumerable, Unforgeable, Custom] any internalConstructorName(any obj);
[Custom] boolean isHTMLAllCollection(any obj); [NotEnumerable, Unforgeable, Custom] boolean isHTMLAllCollection(any obj);
[Custom] DOMString type(any obj); [NotEnumerable, Unforgeable, Custom] DOMString type(any obj);
[Custom] any functionDetails(any obj); [NotEnumerable, Unforgeable, Custom] any functionDetails(any obj);
[Custom] any[] getInternalProperties(any obj); [NotEnumerable, Unforgeable, Custom] any[] getInternalProperties(any obj);
[Custom] EventListener[] getEventListeners(EventTarget target); [NotEnumerable, Unforgeable, Custom] EventListener[] getEventListeners(EventTarget target);
[Custom] any eval(DOMString text); [NotEnumerable, Unforgeable, Custom] any eval(DOMString text);
[Custom] any evaluateWithExceptionDetails(DOMString text); [NotEnumerable, Unforgeable, Custom] any evaluateWithExceptionDetails(DOMString text);
[Custom] void debugFunction(any fn); [NotEnumerable, Unforgeable, Custom] void debugFunction(any fn);
[Custom] void undebugFunction(any fn); [NotEnumerable, Unforgeable, Custom] void undebugFunction(any fn);
[Custom] void monitorFunction(any fn); [NotEnumerable, Unforgeable, Custom] void monitorFunction(any fn);
[Custom] void unmonitorFunction(any fn); [NotEnumerable, Unforgeable, Custom] void unmonitorFunction(any fn);
[Custom] any callFunction(any fn, any receiver, any[] argv); [NotEnumerable, Unforgeable, Custom] any callFunction(any fn, any receiver, any[] argv);
[Custom] any suppressWarningsAndCallFunction(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. // 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);
}; };
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment