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