2 <title>Document.fullscreenEnabled
</title>
3 <script src=
"../../resources/testharness.js"></script>
4 <script src=
"../../resources/testharnessreport.js"></script>
7 <iframe allowfullscreen
></iframe>
11 assert_true(document
.fullscreenEnabled
, "top-level document");
13 var iframes
= document
.getElementsByTagName("iframe");
14 assert_false(iframes
[0].contentDocument
.fullscreenEnabled
, "iframe without allowfullscreen");
15 assert_true(iframes
[1].contentDocument
.fullscreenEnabled
, "iframe with allowfullscreen");