Sign in
webkit
/
WebKit
/
f4126aaf4746a8f8af8c9b0d292a75a3563b2348
/
.
/
JSTests
/
stress
/
regress-187543-2.js
blob: 2764548ca442301dc2a2097708ce66840ec2cb6e [
file
] [
log
] [
blame
]
// This test should not crash.
Object
.
defineProperty
(
Object
.
prototype
,
0
,
{
set
()
{}
});
var
foo
=
Function
.
bind
.
call
(
new
Proxy
(
Array
,
{}));
for
(
var
i
=
10
;
i
<
50
;
++
i
)
{
var
args
=
Array
(
i
).
fill
(
i
);
new
foo
(...
args
);
gc
()
}