Index: LayoutTests/fullscreen/api/document-onfullscreenerror.html |
diff --git a/LayoutTests/fullscreen/api/document-onfullscreenerror.html b/LayoutTests/fullscreen/api/document-onfullscreenerror.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..1c39cf6872b65eb831990611284e9b15679c5778 |
--- /dev/null |
+++ b/LayoutTests/fullscreen/api/document-onfullscreenerror.html |
@@ -0,0 +1,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> |