Sign in
webkit
/
WebKit
/
1c3243aae43d04ded786123dee9807ec05ec076d
/
.
/
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"
;