https://github.com/web-platform-tests/wpt
Raw File
Tip revision: aa1f02a879a9b27b65e60acc905566d0398f92bc authored by Anne van Kesteren on 09 April 2018, 12:47:29 UTC
Remove generate_tests from NodeIterator.html
Tip revision: aa1f02a
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