OLD | NEW |
| (Empty) |
1 <!DOCTYPE html> | |
2 <iframe src=resources/adopt-node-frame.html></iframe> | |
3 <iframe src=resources/adopt-node-frame.svg></iframe> | |
4 <script> | |
5 testRunner.waitUntilDone(); | |
6 testRunner.dumpAsText(); | |
7 | |
8 var count = document.querySelectorAll("iframe").length; | |
9 | |
10 function done(childDocument) { | |
11 document.adoptNode(childDocument.querySelector("script")); | |
12 count--; | |
13 if (count) | |
14 return; | |
15 // Don't use js-test-pre.js because this bug is about <script> loading and | |
16 // 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 |