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