Sign in
webkit
/
WebKit
/
49c45f529348e27f11122daecbee33e4fa730919
/
.
/
JSTests
/
stress
/
max-typed-array-length-toString.js
blob: c010cac29eee4085d447093191220f937d279118 [
file
] [
log
] [
blame
]
//@ skip if $memoryLimited
var
exception
;
try
{
new
Uint8Array
(
0x100000000
).
toString
();
}
catch
(
e
)
{
exception
=
e
;
}
if
(
exception
!=
"RangeError: Out of memory"
)
throw
"FAILED: "
+
exception
;