summaryrefslogtreecommitdiffstats
path: root/dom/html/test/file_fullscreen-multiple-inner.html
diff options
context:
space:
mode:
Diffstat (limited to 'dom/html/test/file_fullscreen-multiple-inner.html')
-rw-r--r--dom/html/test/file_fullscreen-multiple-inner.html28
1 files changed, 28 insertions, 0 deletions
diff --git a/dom/html/test/file_fullscreen-multiple-inner.html b/dom/html/test/file_fullscreen-multiple-inner.html
new file mode 100644
index 000000000..8390cffec
--- /dev/null
+++ b/dom/html/test/file_fullscreen-multiple-inner.html
@@ -0,0 +1,28 @@
+<!DOCTYPE HTML>
+<html>
+<head>
+ <title>Test for Bug 724554</title>
+ <script type="application/javascript" src="file_fullscreen-utils.js"></script>
+</head>
+<body>
+
+<script type="application/javascript">
+
+
+/** Test for Bug 545812 **/
+function begin(id) {
+ addFullscreenErrorContinuation(function() {
+ opener.ok(false, "Fullscreen denied " + id);
+ });
+ addFullscreenChangeContinuation("enter",
+ function() {
+ opener.enteredFullscreen(id);
+ });
+ document.body.requestFullscreen();
+}
+
+
+</script>
+</pre>
+</body>
+</html>