2 <title>Remove the parent of the fullscreen element
</title>
3 <script src=
"../../resources/testharness.js"></script>
4 <script src=
"../../resources/testharnessreport.js"></script>
5 <script src=
"../trusted-event.js"></script>
11 async_test(function(t
)
13 var child
= document
.getElementById("child");
14 trusted_request(child
);
15 document
.onfullscreenchange
= t
.step_func(function()
17 assert_equals(document
.fullscreenElement
, child
);
18 child
.parentNode
.remove();
19 document
.onfullscreenchange
= t
.step_func(function()
21 assert_equals(document
.fullscreenElement
, null);