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