gecko/dom/browser-element/mochitest/file_browserElement_SetVisibleFrames_Inner.html

19 lines
322 B
HTML
Raw Normal View History

<html>
<body>
<script>
var name = location.search.substring(1);
addEventListener('load', function() {
setTimeout(function() {
alert(name + ':ready');
}, 0);
});
addEventListener('mozvisibilitychange', function() {
alert(name + ':' + (document.mozHidden ? 'hidden' : 'visible'));
});
</script>
</body>
</html>