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