summaryrefslogtreecommitdiff
path: root/dom/html/test/file_fullscreen-multiple-inner.html
blob: 8390cffec8019a59ed8138e2bf1b1ad46eca39db (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
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>