Sign in
webkit
/
WebKit
/
3d0b42cd8733f1288f0258cb4ec38a61fc1b4d9e
/
.
/
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"
;