chromium/third_party/blink/web_tests/fast/dom/gc-11.html

<!DOCTYPE html>
<script src="../../resources/js-test.js"></script>
<script>

description('This test checks that custom data on reachable DOM nodes is not lost during GC.');

var xmlDoc = document.implementation.createDocument('', 'doc', null);
var xmlNode = xmlDoc.documentElement;
xmlNode.ownerDocument.data = 1;
xmlDoc = null;

gc();

shouldBe('xmlNode.ownerDocument.data', '1');

</script>