• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1// Copyright 2015 the V8 project authors. All rights reserved.
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5/** @interface */
6function InjectedScriptHostClass()
7{
8}
9
10/**
11 * @param {*} obj
12 */
13InjectedScriptHostClass.prototype.nullifyPrototype = function(obj) {}
14
15/**
16 * @param {*} obj
17 * @param {string} name
18 * @return {*}
19 */
20InjectedScriptHostClass.prototype.getProperty = function(obj, name) {}
21
22/**
23 * @param {*} obj
24 * @return {string}
25 */
26InjectedScriptHostClass.prototype.internalConstructorName = function(obj) {}
27
28/**
29 * @param {*} obj
30 * @param {function()|undefined} func
31 * @return {boolean}
32 */
33InjectedScriptHostClass.prototype.formatAccessorsAsProperties = function(obj, func) {}
34
35/**
36 * @param {*} obj
37 * @return {string}
38 */
39InjectedScriptHostClass.prototype.subtype = function(obj) {}
40
41/**
42 * @param {*} obj
43 * @return {boolean}
44 */
45InjectedScriptHostClass.prototype.isTypedArray = function(obj) {}
46
47/**
48 * @param {*} obj
49 * @return {!Array.<*>}
50 */
51InjectedScriptHostClass.prototype.getInternalProperties = function(obj) {}
52
53/**
54 * @param {!Object} object
55 * @param {string} propertyName
56 * @return {boolean}
57 */
58InjectedScriptHostClass.prototype.objectHasOwnProperty = function(object, propertyName) {}
59
60/**
61 * @param {*} value
62 * @param {string} groupName
63 * @return {number}
64 */
65InjectedScriptHostClass.prototype.bind = function(value, groupName) {}
66
67/**
68 * @param {!Object} object
69 * @return {!Object}
70 */
71InjectedScriptHostClass.prototype.proxyTargetValue = function(object) {}
72
73/**
74 * @param {!Object} obj
75 * @return {!Array<string>}
76 */
77InjectedScriptHostClass.prototype.keys = function(obj) {}
78
79/**
80 * @param {!Object} obj
81 * @return {Object}
82 */
83InjectedScriptHostClass.prototype.getPrototypeOf = function(obj) {}
84
85/**
86 * @param {!Object} obj
87 * @param {string} prop
88 * @return {Object}
89 */
90InjectedScriptHostClass.prototype.getOwnPropertyDescriptor = function(obj, prop) {}
91
92/**
93 * @param {!Object} obj
94 * @return {!Array<string>}
95 */
96InjectedScriptHostClass.prototype.getOwnPropertyNames = function(obj) {}
97
98/**
99 * @param {!Object} obj
100 * @return {!Array<symbol>}
101 */
102InjectedScriptHostClass.prototype.getOwnPropertySymbols = function(obj) {}
103
104/**
105 * @param {!Object} obj
106 * @param {string|symbol} name
107 * @return {{isBuiltin:boolean, hasGetter:boolean, hasSetter:boolean}|undefined}
108 */
109InjectedScriptHostClass.prototype.nativeAccessorDescriptor = function(obj, name) {}
110
111/**
112 * @param {!Object} arrayBuffer
113 * @return {Array<Object>|undefined}
114 */
115InjectedScriptHostClass.prototype.typedArrayProperties = function(arrayBuffer) {}
116
117/** @type {!InjectedScriptHostClass} */
118var InjectedScriptHost;
119/** @type {!Window} */
120var inspectedGlobalObject;
121/** @type {number} */
122var injectedScriptId;
123