| Index: third_party/WebKit/Source/platform/v8_inspector/InjectedScriptSource.js
|
| diff --git a/third_party/WebKit/Source/platform/v8_inspector/InjectedScriptSource.js b/third_party/WebKit/Source/platform/v8_inspector/InjectedScriptSource.js
|
| index 4043f68d9de3bc002fd7ef94107dbee26c78c338..70aeacfd9b6aa72165be383433e9ee4b969d13dd 100644
|
| --- a/third_party/WebKit/Source/platform/v8_inspector/InjectedScriptSource.js
|
| +++ b/third_party/WebKit/Source/platform/v8_inspector/InjectedScriptSource.js
|
| @@ -127,7 +127,7 @@ function bind(func, thisObject, var_args)
|
| */
|
| function bound(var_args)
|
| {
|
| - return InjectedScriptHost.callFunction(func, thisObject, concat(args, slice(arguments)));
|
| + return InjectedScriptHost.suppressWarningsAndCallFunction(func, thisObject, concat(args, slice(arguments)));
|
| }
|
| bound.toString = function()
|
| {
|
| @@ -734,13 +734,12 @@ InjectedScript.prototype = {
|
| return className;
|
| }
|
|
|
| - // NodeList in JSC is a function, check for array prior to this.
|
| if (typeof obj === "function")
|
| return toString(obj);
|
|
|
| if (isSymbol(obj)) {
|
| try {
|
| - return /** @type {string} */ (InjectedScriptHost.callFunction(Symbol.prototype.toString, obj)) || "Symbol";
|
| + return /** @type {string} */ (InjectedScriptHost.suppressWarningsAndCallFunction(Symbol.prototype.toString, obj)) || "Symbol";
|
| } catch (e) {
|
| return "Symbol";
|
| }
|
|
|