Sign in
webkit
/
WebKit
/
6ada3cd2e0d9b9e450b5e021e0e5526f55f59df8
/
.
/
JSTests
/
stress
/
regress-185888.js
blob: ccd1ef70bf2b2e81c267eab4eb85c9bb301eb2d9 [
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
!=
"Error: Out of memory"
)
throw
"FAILED"
;