Sign in
webkit
/
WebKit
/
ecbcd311b05ac239b92fcb2f58299787a062a338
/
.
/
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
()
}