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