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