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