| 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..a8a7eee8bcda61920901e2d18530c069188692e6 100644
|
| --- a/LayoutTests/inspector/console/console-format.html
|
| +++ b/LayoutTests/inspector/console/console-format.html
|
| @@ -52,11 +52,15 @@ function onload()
|
| });
|
| var negZero = 1 / Number.NEGATIVE_INFINITY;
|
|
|
| + var arrayWithNonIndexOverflow = [1,2,3,4];
|
| + for (var i = 0; i < 6; ++i)
|
| + arrayWithNonIndexOverflow["index" + i] = i;
|
| +
|
| 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
|
| + NaN, Number.POSITIVE_INFINITY, Number.NEGATIVE_INFINITY, array, arrayWithNonIndexOverflow, {},
|
| + [function() {}], bar, svg, objectWithNonEnumerables, negZero, Object.create(null), Object, Object.prototype
|
| ];
|
|
|
| runTest();
|
| @@ -81,7 +85,9 @@ function test()
|
|
|
| function finish()
|
| {
|
| - InspectorTest.dumpConsoleMessages();
|
| + var text = InspectorTest.textContentWithLineBreaks(WebInspector.consoleView.topGroup.element);
|
| + text = text.replace(/\bVM\d+/g, "VM");
|
| + InspectorTest.addResult(text);
|
| InspectorTest.completeTest();
|
| }
|
|
|
|
|