1<!DOCTYPE html> 2<script> 3var maxObjects = 100000; 4 5var TestRunner = function() { 6 this.isDone = false; 7}; 8 9var testRunner = null; 10window.onload = function () { 11 testRunner = new TestRunner(); 12 13 // Create a lot of objects can trigger a Blink GC. 14 for (var i = 0; i < maxObjects; i++) { 15 new TextDecoder(); 16 } 17 18 testRunner.isDone = true; 19} 20</script> 21