Upstream version 9.38.198.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / Source / core / inspector / InjectedScriptExterns.js
index 0ffea17..cdae0c7 100644 (file)
@@ -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} */