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