2 <script src=
"../../resources/js-test.js"></script>
5 description('This test checks that custom data on reachable DOM nodes is not lost during GC.');
7 var xmlDoc
= document
.implementation
.createDocument('', 'doc', null);
8 var xmlNode
= xmlDoc
.documentElement
;
9 xmlNode
.ownerDocument
.data
= 1;
14 shouldBe('xmlNode.ownerDocument.data', '1');