summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/fullscreen/api/element-ready-check-iframe-child-manual.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/fullscreen/api/element-ready-check-iframe-child-manual.html')
-rw-r--r--testing/web-platform/tests/fullscreen/api/element-ready-check-iframe-child-manual.html17
1 files changed, 17 insertions, 0 deletions
diff --git a/testing/web-platform/tests/fullscreen/api/element-ready-check-iframe-child-manual.html b/testing/web-platform/tests/fullscreen/api/element-ready-check-iframe-child-manual.html
new file mode 100644
index 000000000..0c1dd29a1
--- /dev/null
+++ b/testing/web-platform/tests/fullscreen/api/element-ready-check-iframe-child-manual.html
@@ -0,0 +1,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>