Sign in
webkit
/
WebKit
/
33f8dd96b36793b2ae01c5dc6d6a697382ec3807
/
.
/
JSTests
/
stress
/
regress-185888.js
blob: 7f8570caabfd6c8ee8367bc7444563e88b22583a [
file
] [
log
] [
blame
]
//@skip if $memoryLimited
var
exception
;
try
{
const
str
=
"a"
.
padStart
(
0x80000000
-
1
);
new
Date
(
str
);
}
catch
(
e
)
{
exception
=
e
;
}
if
(
exception
!=
"Error: Out of memory"
)
throw
"FAILED"
;