| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <iframe src=resources/append-child-adopt-node-frame.html></iframe> | 2 <iframe src=resources/move-back-from-non-contextdoc.html></iframe> |
| 3 <iframe src=resources/append-child-adopt-node-frame.svg></iframe> | 3 <iframe src=resources/move-from-non-contextdoc-to-iframe.html></iframe> |
| 4 <iframe src=resources/move-back-from-non-contextdoc.svg></iframe> |
| 4 <script> | 5 <script> |
| 5 testRunner.waitUntilDone(); | 6 testRunner.waitUntilDone(); |
| 6 testRunner.dumpAsText(); | 7 testRunner.dumpAsText(); |
| 7 | 8 |
| 8 // Don't use js-test.js because this bug is about <script> loading and | 9 // Don't use js-test.js because this bug is about <script> loading and |
| 9 // it makes sense to keep this small and easy to debug when regress. | 10 // it makes sense to keep this small and easy to debug when regress. |
| 10 console.log("PASS unless crash."); | 11 console.log("PASS unless crash."); |
| 11 | 12 |
| 12 var count = document.querySelectorAll("iframe").length; | 13 var count = document.querySelectorAll("iframe").length; |
| 13 | 14 |
| 14 function done() { | 15 function done() { |
| 15 if (--count) | 16 if (--count) |
| 16 return; | 17 return; |
| 17 testRunner.notifyDone(); | 18 testRunner.notifyDone(); |
| 18 } | 19 } |
| 19 </script> | 20 </script> |
| OLD | NEW |