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