summaryrefslogtreecommitdiffstats
path: root/dom/base/test/fullscreen/file_fullscreen-multiple-inner.html
blob: cb5ca9b28eab93a222946b678d3bd6e8ee03ef8a (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
<!DOCTYPE HTML>
<html>
<head>
  <title>Test for Bug 724554</title>
</head>
<body>

<script type="application/javascript">

/** Test for Bug 545812 **/
function begin(id) {
  opener.addFullscreenErrorContinuation(function() {
    opener.ok(false, "Fullscreen denied " + id);
  }, document);
  opener.addFullscreenChangeContinuation("enter",
    function() {
      opener.enteredFullscreen(id);
    }, document);
  document.body.requestFullscreen();
}

</script>
</pre>
</body>
</html>