gecko-dev/dom/html/test/file_fullscreen-multiple-inner.html
Xidorn Quan 18be918951 Bug 743198 part 9 - Use unprefixed Fullscreen API in tests. r=smaug
--HG--
extra : source : da91d7fdadd82fcb7201c237d79c8708d532e371
2016-02-17 08:47:11 +08:00

29 lines
535 B
HTML

<!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>