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