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