Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 <!DOCTYPE html> | |
| 2 <script> | |
| 3 if (window.testRunner) { | |
| 4 testRunner.dumpAsText(); | |
| 5 testRunner.waitUntilDone(); | |
| 6 } | |
| 7 window.onmessage = function() { | |
| 8 setTimeout(function() { | |
| 9 var iframe = document.querySelector('iframe'); | |
| 10 iframe.src = iframe.src; | |
| 11 gc(); | |
| 12 setTimeout(function() { | |
| 13 if (window.testRunner) | |
| 14 testRunner.notifyDone(); | |
| 15 }, 150); | |
|
philipj_slow
2015/08/13 12:49:15
What is it that happens on a timeout, is it some c
fs
2015/08/13 12:59:40
Yeah, so this is the main gratuitous ugliness - it
philipj_slow
2015/08/13 13:05:45
Oh, I see, it'll just reload it over and over agai
| |
| 16 }, 0); | |
| 17 } | |
| 18 </script> | |
| 19 <p>PASS if no crash.</p> | |
| 20 <iframe src="../resources/track-dispose-inner.html"></iframe> | |
| OLD | NEW |