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