Sign in
webkit
/
WebKit
/
2a0aecef68e2ca0674a52b051412def7e6b01404
/
.
/
JSTests
/
stress
/
regress-178386.js
blob: ea1e7626d460497f8eb4522c7d4a35f7c82a2a3e [
file
] [
log
] [
blame
]
var
str1
=
String
.
fromCharCode
(
365
,
115
,
29
,
20
,
15
,
155
,
81
);
str3
=
str1
.
padEnd
(
0x7FFFFFFC
,
'123'
);
var
exception
;
try
{
JSON
.
stringify
(
str3
);
}
catch
(
e
)
{
exception
=
e
;
}
if
(
exception
!=
"RangeError: Out of memory"
)
throw
"FAILED"
;