blob: 73d39a9d83e53b80e4f4e9f6441f19eeb27bd906 (
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
|
<!DOCTYPE HTML>
<html>
<head>
<title>Focus test - child window</title>
<script type="application/javascript" src="file_fullscreen-utils.js"></script>
</head>
<body>
<script type="application/javascript">
function enterFullscreen() {
addFullscreenErrorContinuation(() => { opener.enteredFullscreen(false); });
addFullscreenChangeContinuation("enter", () => {
opener.enteredFullscreen(true);
});
document.body.requestFullscreen();
}
</script>
</pre>
</body>
</html>
|