Revision 13aba116f5464e57a1052c92b553b170022e6825 authored by Chromium WPT Sync on 24 February 2017, 16:50:26 UTC, committed by GitHub on 24 February 2017, 16:50:26 UTC
Unskip mediastream-capture WPT tests
2 parent s a7e9c2a + 55f035b
Raw File
remove-single-manual.html
<!DOCTYPE html>
<title>Remove the single element on the fullscreen element stack</title>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="../trusted-click.js"></script>
<div id="log"></div>
<div id="single"></div>
<script>
async_test(function(t)
{
    var single = document.getElementById("single");
    document.onfullscreenchange = t.step_func(function()
    {
        assert_equals(document.fullscreenElement, single);
        single.remove();
        document.onfullscreenchange = t.step_func(function()
        {
            assert_equals(document.fullscreenElement, null);
            t.done();
        });
    });
    trusted_request(t, single);
});
</script>
back to top