Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / ManualTests / mutation-observer-leaks-nodes.html
blob0efc6e84e01d8a597901c9a6e8de48d8916c1831
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});
11 GCController.collect();
12 </script>
13 <p>Number of leaked nodes reported by DRT should be less than 100</p>
14 </body>