Sign in
webkit
/
WebKit
/
22602fe29fabc5ca838dc22cb719fefb0c93882f
/
.
/
JSTests
/
stress
/
missing-exception-check-in-JSValue-toWTFStringSlowCase.js
blob: cb0b618df9b372d1828cf6edffad02bf13eac6f0 [
file
] [
log
] [
blame
]
//@ skip if $memoryLimited
//@ runDefault
try
{
RegExp
({
toString
:
()=>
''
.
padEnd
(
2
**
31
-
1
,
10
.
toLocaleString
())
});
}
catch
(
e
)
{
exception
=
e
;
}
if
(
exception
!=
"Error: Out of memory"
)
throw
"FAILED"
;