Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(92)

Side by Side Diff: LayoutTests/fast/dom/gc-11.html

Issue 48903019: Delete js-test-post.js. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <script src="../js/resources/js-test-pre.js"></script> 2 <script src="../js/resources/js-test-pre.js"></script>
3 <script> 3 <script>
4 4
5 description('This test checks that custom data on reachable DOM nodes is not los t during GC.'); 5 description('This test checks that custom data on reachable DOM nodes is not los t during GC.');
6 6
7 var xmlDoc = document.implementation.createDocument('', 'doc', null); 7 var xmlDoc = document.implementation.createDocument('', 'doc', null);
8 var xmlNode = xmlDoc.documentElement; 8 var xmlNode = xmlDoc.documentElement;
9 xmlNode.ownerDocument.data = 1; 9 xmlNode.ownerDocument.data = 1;
10 xmlDoc = null; 10 xmlDoc = null;
11 11
12 gc(); 12 gc();
13 13
14 shouldBe('xmlNode.ownerDocument.data', '1'); 14 shouldBe('xmlNode.ownerDocument.data', '1');
15 15
16 </script> 16 </script>
17 <script src="../js/resources/js-test-post.js"></script>
OLDNEW
« no previous file with comments | « LayoutTests/fast/dom/fragment-activation-focuses-target.html ('k') | LayoutTests/fast/dom/gc-attribute-node.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698