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