summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/fullscreen/api/element-ready-check-not-in-document-manual.html
blob: 904d319908d6bb08fe0108f3853289b88f11ddf5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<!DOCTYPE html>
<title>Element ready check for element not in a document</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.createElement("div");
    document.onfullscreenchange = t.unreached_func("fullscreenchange event");
    document.onfullscreenerror = t.step_func_done();
    trusted_request(div, document.body);
});
</script>