Sign in
webkit
/
WebKit
/
9a73914e2e268a55beee9b8740dd4c66a53998c0
/
.
/
JSTests
/
stress
/
regress-178386.js
blob: c2dfb9e28584e72ba93fa88975007f99df958c93 [
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
!=
"Error: Out of memory"
)
throw
"FAILED"
;