summaryrefslogtreecommitdiffstats
path: root/dom/browser-element/mochitest/file_browserElement_SetVisibleFrames_Inner.html
blob: 8f9b871d6e2693c7b2e030bd97df3fd558a71ee0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<html>
<body>
<script>

var name = location.search.substring(1);
addEventListener('load', function() {
  setTimeout(function() {
    alert(name + ':ready');
  }, 0);
});

addEventListener('visibilitychange', function() {
  alert(name + ':' + (document.hidden ? 'hidden' : 'visible'));
});

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