X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=src%2Fthird_party%2FWebKit%2FSource%2Fcore%2Finspector%2FInjectedScriptExterns.js;h=cdae0c791851367e154ccfef0f26ea99d521165b;hb=4a1a0bdd01eef90b0826a0e761d3379d3715c10f;hp=0ffea17ca7f60348175c78827f09d04176ebb640;hpb=b1be5ca53587d23e7aeb77b26861fdc0a181ffd8;p=platform%2Fframework%2Fweb%2Fcrosswalk.git diff --git a/src/third_party/WebKit/Source/core/inspector/InjectedScriptExterns.js b/src/third_party/WebKit/Source/core/inspector/InjectedScriptExterns.js index 0ffea17..cdae0c7 100644 --- a/src/third_party/WebKit/Source/core/inspector/InjectedScriptExterns.js +++ b/src/third_party/WebKit/Source/core/inspector/InjectedScriptExterns.js @@ -39,11 +39,17 @@ InjectedScriptHostClass.prototype.getInternalProperties = function(object) { } */ InjectedScriptHostClass.prototype.functionDetails = function(func) { } /** - * @param {!Object} receiver * @param {!Function} func - * @param {...*} args + * @param {*} receiver + * @param {!Array.<*>=} args */ -InjectedScriptHostClass.prototype.suppressWarningsAndCall = function(receiver, func, args) { } +InjectedScriptHostClass.prototype.callFunction = function(func, receiver, args) { } +/** + * @param {!Function} func + * @param {*} receiver + * @param {!Array.<*>=} args + */ +InjectedScriptHostClass.prototype.suppressWarningsAndCallFunction = function(func, receiver, args) { } /** * @param {*} object */ @@ -87,7 +93,11 @@ InjectedScriptHostClass.prototype.getEventListeners = function(object) { } /** * @param {string} expression */ -InjectedScriptHostClass.prototype.evaluate = function(expression) { } +InjectedScriptHostClass.prototype.eval = function(expression) { } +/** + * @param {string} expression + */ +InjectedScriptHostClass.prototype.evaluateWithExceptionDetails = function(expression) { } /** * @param {*} fn */ @@ -143,7 +153,10 @@ function JavaScriptCallFrame() JavaScriptCallFrame.prototype.scopeType = function(index) { } JavaScriptCallFrame.prototype.restart = function() { } - +/** + * @param {string} expression + */ +JavaScriptCallFrame.prototype.evaluateWithExceptionDetails = function(expression) { } /** * @param {number} scopeNumber * @param {string} variableName @@ -160,26 +173,6 @@ function JavaScriptFunction() this.rawScopes; } -// http://code.google.com/p/v8/wiki/JavaScriptStackTraceApi -/** - * @constructor - */ -function CallSite() -{ -} -/** - * @return {string} - */ -CallSite.prototype.getFileName = function() { } -/** - * @return {number} - */ -CallSite.prototype.getLineNumber = function() { } -/** - * @return {number} - */ -CallSite.prototype.getColumnNumber = function() { } - // FIXME: Remove once ES6 is supported natively by JS compiler. /** @typedef {string} */