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