OLD | NEW |
(Empty) | |
| 1 <!DOCTYPE html> |
| 2 <title>Element ready check for child of iframe</title> |
| 3 <script src="../../resources/testharness.js"></script> |
| 4 <script src="../../resources/testharnessreport.js"></script> |
| 5 <script src="../trusted-event.js"></script> |
| 6 <div id="log"></div> |
| 7 <iframe><!-- script inserts child here --></iframe> |
| 8 <script> |
| 9 async_test(function(t) |
| 10 { |
| 11 var div = document.createElement("div"); |
| 12 document.querySelector("iframe").appendChild(div); |
| 13 document.onfullscreenchange = t.unreached_func("fullscreenchange event"); |
| 14 document.onfullscreenerror = t.step_func_done(); |
| 15 trusted_request(div, document.body); |
| 16 }); |
| 17 </script> |
OLD | NEW |