Sign in
webkit
/
WebKit
/
2ab9dfaee5c791e0d7b2c0893a55ced8677e2e2a
/
.
/
LayoutTests
/
js
/
dom
/
script-tests
/
nested-object-gc.js
blob: d40a5ac389747baf35fe74870718bbc86e13cee3 [
file
] [
log
] [
blame
]
description
(
"This test checks whether garbage collection can handle deeply nested objects. It passes if the test does not crash."
);
var
start
=
new
Date
;
var
o
=
{};
var
a
=
[];
for
(
var
i
=
0
;
i
<
250000
;
i
++)
{
o
=
{
o
:
o
};
a
=[
a
];
}
gc
();