2 * Copyright (C) 2012 Google Inc. All rights reserved.
4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are
8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above
11 * copyright notice, this list of conditions and the following disclaimer
12 * in the documentation and/or other materials provided with the
14 * * Neither the name of Google Inc. nor the names of its
15 * contributors may be used to endorse or promote products derived from
16 * this software without specific prior written permission.
18 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
19 * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
20 * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
21 * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
22 * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
23 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
24 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
25 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
26 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
27 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
34 function InjectedScriptHostClass() { }
35 InjectedScriptHostClass.prototype.storageId = function(object) { }
36 InjectedScriptHostClass.prototype.getInternalProperties = function(object) { }
38 * @param {Function} func
40 InjectedScriptHostClass.prototype.functionDetails = function(func) { }
44 InjectedScriptHostClass.prototype.isHTMLAllCollection = function(object) { }
48 InjectedScriptHostClass.prototype.internalConstructorName = function(object) { }
52 InjectedScriptHostClass.prototype.copyText = function(object) { }
53 InjectedScriptHostClass.prototype.clearConsoleMessages = function() { }
55 * @param {number} index
57 InjectedScriptHostClass.prototype.inspectedObject = function(index) { }
62 InjectedScriptHostClass.prototype.objectId = function(object) { }
66 InjectedScriptHostClass.prototype.releaseObjectId = function(object) { }
70 InjectedScriptHostClass.prototype.databaseId = function(object) { }
73 * @param {Object} hints
75 InjectedScriptHostClass.prototype.inspect = function(object, hints) { }
79 InjectedScriptHostClass.prototype.type = function(object) { }
83 InjectedScriptHostClass.prototype.getEventListeners = function(object) { }
85 * @param {string} expression
87 InjectedScriptHostClass.prototype.evaluate = function(expression) { }
91 InjectedScriptHostClass.prototype.debugFunction = function(fn) { }
95 InjectedScriptHostClass.prototype.undebugFunction = function(fn) { }
99 InjectedScriptHostClass.prototype.monitorFunction = function(fn) { }
103 InjectedScriptHostClass.prototype.unmonitorFunction = function(fn) { }
106 * @param {function(...)} fun
107 * @param {number} scopeNumber
108 * @param {string} variableName
109 * @param {*} newValue
111 InjectedScriptHostClass.prototype.setFunctionVariableValue = function(fun, scopeNumber, variableName, newValue) { }
113 /** @type {!InjectedScriptHostClass} */
114 var InjectedScriptHost;
115 /** @type {!Window} */
117 /** @type {number} */
118 var injectedScriptId;
123 function JavaScriptCallFrame()
125 /** @type {number} */
127 /** @type {number} */
129 /** @type {number} */
133 /** @type {string} */
134 this.stepInPositions;
138 * @param {number} index
140 JavaScriptCallFrame.prototype.scopeType = function(index) { }
142 JavaScriptCallFrame.prototype.restart = function() { }
145 * @param {number} scopeNumber
146 * @param {string} variableName
147 * @param {*} newValue
149 JavaScriptCallFrame.prototype.setVariableValue = function(scopeNumber, variableName, newValue) {}
154 function JavaScriptFunction()
160 // http://code.google.com/p/v8/wiki/JavaScriptStackTraceApi
170 CallSite.prototype.getFileName = function() { }
174 CallSite.prototype.getLineNumber = function() { }
178 CallSite.prototype.getColumnNumber = function() { }