summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/fullscreen/api/document-onfullscreenchange-manual.html
blob: d77872ffb5801360f537386a7d7dba28512b3792 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<!DOCTYPE html>
<title>Document.onfullscreenchange</title>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="../trusted-click.js"></script>
<div id="log"></div>
<script>
async_test(function(t)
{
    var div = document.querySelector("div");
    assert_equals(document.onfullscreenchange, null, "initial onfullscreenchange");
    document.onfullscreenchange = t.step_func_done();
    trusted_request(div);
});
</script>