summaryrefslogtreecommitdiffstats
path: root/browser/base/content/test/fullscreen/fullscreen.html
diff options
context:
space:
mode:
Diffstat (limited to 'browser/base/content/test/fullscreen/fullscreen.html')
-rw-r--r--browser/base/content/test/fullscreen/fullscreen.html12
1 files changed, 12 insertions, 0 deletions
diff --git a/browser/base/content/test/fullscreen/fullscreen.html b/browser/base/content/test/fullscreen/fullscreen.html
new file mode 100644
index 0000000000..8b4289bb36
--- /dev/null
+++ b/browser/base/content/test/fullscreen/fullscreen.html
@@ -0,0 +1,12 @@
+<!DOCTYPE HTML>
+<html>
+<script>
+function requestFScreen() {
+ document.body.requestFullscreen();
+}
+</script>
+<body>
+<button id="request" onclick="requestFScreen()"> Fullscreen </button>
+<button id="focus"> Fullscreen </button>
+</body>
+</html>