Sign in
webkit
/
WebKit
/
00d9c36630c3b100532e86e2616da21d7c5e504a
/
.
/
JSTests
/
stress
/
regress-185888.js
blob: 00e25552f46c33963d8a16ad3dccfab3c2e06d4d [
file
] [
log
] [
blame
]
//@ if $memoryLimited then skip else runDefault end
var
exception
;
try
{
const
str
=
"a"
.
padStart
(
0x80000000
-
1
);
new
Date
(
str
);
}
catch
(
e
)
{
exception
=
e
;
}
if
(
exception
!=
"RangeError: Out of memory"
)
throw
"FAILED"
;