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