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