We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 45c4685 commit 9f91238Copy full SHA for 9f91238
fullscreen/api/active-document-manual.html
@@ -0,0 +1,18 @@
1
+<!DOCTYPE html>
2
+<title>Element ready check for containing iframe, element's document is not the active document</title>
3
+<script src="/resources/testharness.js"></script>
4
+<script src="/resources/testharnessreport.js"></script>
5
+<script src="../trusted-click.js"></script>
6
+<div id="log"></div>
7
+<iframe allowfullscreen></iframe>
8
+<script>
9
+async_test((t) => {
10
+ onload = () => {
11
+ var iframes = document.getElementsByTagName("iframe");
12
+ trusted_request(iframes[0].contentDocument.body, document.body);
13
+ window[0].location.href = '/common/blank.html';
14
+ iframes[0].contentDocument.onfullscreenchange = t.unreached_func("fullscreenchange event");
15
+ iframes[0].contentDocument.onfullscreenerror = t.step_func_done();
16
+ };
17
+});
18
+</script>
0 commit comments