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