<!DOCTYPE html> | |
<body> | |
<script> | |
testRunner.dumpAsText(); | |
var count = 100; | |
var observer = new MutationObserver(function(){}); | |
for (var i = 0; i < count; i++) { | |
var span = document.createElement('span'); | |
observer.observe(span, {attributes:true}); | |
}; | |
GCController.collect(); | |
</script> | |
<p>Number of leaked nodes reported by DRT should be less than 100</p> | |
</body> |