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