Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / dom / gc-11.html
blob7e6fd497e50fb631998933537101f048b9402130
1 <!DOCTYPE html>
2 <script src="../../resources/js-test.js"></script>
3 <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;
10 xmlDoc = null;
12 gc();
14 shouldBe('xmlNode.ownerDocument.data', '1');
16 </script>