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