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