diff options
Diffstat (limited to 'testing/web-platform/tests/fullscreen/api/document-onfullscreenchange-manual.html')
-rw-r--r-- | testing/web-platform/tests/fullscreen/api/document-onfullscreenchange-manual.html | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/testing/web-platform/tests/fullscreen/api/document-onfullscreenchange-manual.html b/testing/web-platform/tests/fullscreen/api/document-onfullscreenchange-manual.html new file mode 100644 index 000000000..d77872ffb --- /dev/null +++ b/testing/web-platform/tests/fullscreen/api/document-onfullscreenchange-manual.html @@ -0,0 +1,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> |