Files
tubestation/testing/web-platform/tests/console/console-log-large-array.any.js
syvb cb69c5e481 Bug 1878729 [wpt PR 44403] - Fix crash on console logging large array, a=testonly
Automatic update from web-platform-tests
Fix crash on large console log

--

wpt-commits: e3f0f309963f48c0f7a4433c1cb31d8e013400a0
wpt-pr: 44403
2024-02-13 08:17:25 +00:00

9 lines
240 B
JavaScript

// META: global=window,dedicatedworker,shadowrealm
"use strict";
// https://console.spec.whatwg.org/
test(() => {
console.log(new Array(10000000).fill("x"));
console.log(new Uint8Array(10000000));
}, "Logging large arrays works");