Index: LayoutTests/inspector/console/console-format.html |
diff --git a/LayoutTests/inspector/console/console-format.html b/LayoutTests/inspector/console/console-format.html |
index 4357ec257cd5b510d8a6f5fd03a118eefc2858f3..e50f80776d9db7d81888240fee7d82640cc1ff95 100644 |
--- a/LayoutTests/inspector/console/console-format.html |
+++ b/LayoutTests/inspector/console/console-format.html |
@@ -52,11 +52,14 @@ function onload() |
}); |
var negZero = 1 / Number.NEGATIVE_INFINITY; |
+ var arrayLikeFunction = function() {}; |
+ arrayLikeFunction.splice = function() {}; |
+ |
globals = [ |
regex1, regex2, str, str2, error, errorWithMessage, node, func, multilinefunc, num, linkify, |
null, undefined, valuelessAttribute, valuedAttribute, existingAttribute, throwingLengthGetter, |
NaN, Number.POSITIVE_INFINITY, Number.NEGATIVE_INFINITY, array, {}, [function() {}], bar, svg, |
- objectWithNonEnumerables, negZero, Object.create(null), Object, Object.prototype |
+ objectWithNonEnumerables, negZero, Object.create(null), Object, Object.prototype, arrayLikeFunction |
]; |
runTest(); |