Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 We pass if we don't crash under ASAN. | |
|
esprehn
2014/06/20 20:01:30
Missing doctype.
| |
| 2 <iframe id=i src="../navigation/resources/blank.txt"></iframe> | |
|
esprehn
2014/06/20 20:01:31
Can we use iframe instead of "i"?
| |
| 3 <script> | |
| 4 if (window.testRunner) { | |
| 5 testRunner.dumpAsText(); | |
| 6 testRunner.waitUntilDone(); | |
| 7 } | |
| 8 | |
| 9 window.onload = function() | |
| 10 { | |
| 11 i.parentNode.removeChild(i); | |
|
esprehn
2014/06/20 20:01:30
i.remove();
| |
| 12 gc(); | |
| 13 } | |
| 14 | |
| 15 document.addEventListener("DOMContentLoaded", function() { | |
| 16 setTimeout(function() { | |
| 17 document.adoptNode(i.attributes["src"]); | |
|
esprehn
2014/06/20 20:01:30
Just use removeAttribute? I don't know why you're
Nate Chapin
2014/06/20 20:17:42
I was building this off of a clusterfuzz testcase,
| |
| 18 if (window.testRunner) | |
| 19 testRunner.notifyDone(); | |
| 20 }, 0); | |
| 21 }, false); | |
| 22 </script> | |
| OLD | NEW |