1 <!DOCTYPE html> 2 <body> 3 <script> 4 testRunner.dumpAsText(); 5 var count = 100; 6 var observer = new MutationObserver(function(){}); 7 for (var i = 0; i < count; i++) { 8 var span = document.createElement('span'); 9 observer.observe(span, {attributes:true}); 10 }; 11 GCController.collect(); 12 </script> 13 <p>Number of leaked nodes reported by DRT should be less than 100</p> 14 </body> 15