Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(513)

Unified Diff: Source/core/inspector/InjectedScriptExterns.js

Issue 445333005: DevTools: Fix tainted Function.prototype methods may disable console. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: another test fix Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: Source/core/inspector/InjectedScriptExterns.js
diff --git a/Source/core/inspector/InjectedScriptExterns.js b/Source/core/inspector/InjectedScriptExterns.js
index 81ac85c3769be278a77478f8ce098d5ba98d710f..cdae0c791851367e154ccfef0f26ea99d521165b 100644
--- a/Source/core/inspector/InjectedScriptExterns.js
+++ b/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
*/
« no previous file with comments | « Source/bindings/core/v8/custom/V8InjectedScriptHostCustom.cpp ('k') | Source/core/inspector/InjectedScriptHost.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698