Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 <script src='../../resources/js-test.js'></script> | |
| 2 <body> | |
| 3 <iframe></iframe> | |
| 4 <script> | |
| 5 description("Assert that parser reparented iframe has detached DOMWindow"); | |
| 6 | |
| 7 if (window.testRunner) testRunner.waitUntilDone(); | |
|
Yuta Kitamura
2015/02/23 07:54:41
Unfold this into two lines
| |
| 8 iframe = document.getElementsByTagName("iframe")[0]; | |
|
Yuta Kitamura
2015/02/23 07:54:41
var
| |
| 9 iframe.onload = function() { | |
| 10 shouldBeNull('reparentedIframe.contentWindow'); | |
| 11 testRunner.notifyDone(); | |
| 12 }; | |
| 13 iframe.src = 'resources/reparent-iframe.html'; | |
| 14 </script> | |
| OLD | NEW |