| <!DOCTYPE html> |
| <iframe src=resources/append-child-adopt-node-frame.html></iframe> |
| <iframe src=resources/append-child-adopt-node-frame.svg></iframe> |
| <script> |
| testRunner.waitUntilDone(); |
| testRunner.dumpAsText(); |
| |
| // Don't use js-test.js because this bug is about <script> loading and |
| // it makes sense to keep this small and easy to debug when regress. |
| console.log("PASS unless crash."); |
| |
| var count = document.querySelectorAll("iframe").length; |
| |
| function done() { |
| if (--count) |
| return; |
| testRunner.notifyDone(); |
| } |
| </script> |