Sign in
webkit
/
WebKit
/
939e9d9dca352ef0e519c767220f928dea5a0c13
/
.
/
JSTests
/
stress
/
missing-exception-check-in-string-toLower.js
blob: afaad42438177b814a38c52e3be5f1de3b6e7aa7 [
file
] [
log
] [
blame
]
const
s1
=
(-
1
).
toLocaleString
().
padEnd
(
2
**
31
-
1
,
'aa'
);
try
{
s1
.
toLowerCase
();
}
catch
(
e
)
{
exception
=
e
;
}
if
(
exception
!=
"RangeError: Out of memory"
)
throw
"FAILED"
;