Revision 7792accba7c0f7bb80f50c8ac81da5387227224b authored by Chromium WPT Sync on 24 February 2017, 17:10:11 UTC, committed by GitHub on 24 February 2017, 17:10:11 UTC
Add tests for exiting from nested fullscreen
2 parent s 13aba11 + d4e48e5
Raw File
unload-1.html
<!doctype html>
<html>
<head><title>Document</title></head>
<body>
<h1>Document</h1>
<script>
onload = function() {
  document.addEventListener("visibilitychange", onVisibilityChange, false);
  opener.postMessage("close", "*");
}

function onVisibilityChange() {
  opener.postMessage(document.visibilityState, "*");
}
</script>
</body>
</html>
back to top