dom/browser-element/mochitest/file_browserElement_SetVisibleFrames_Inner.html

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/dom/browser-element/mochitest/file_browserElement_SetVisibleFrames_Inner.html	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,18 @@
     1.4 +<html>
     1.5 +<body>
     1.6 +<script>
     1.7 +
     1.8 +var name = location.search.substring(1);
     1.9 +addEventListener('load', function() {
    1.10 +  setTimeout(function() {
    1.11 +    alert(name + ':ready');
    1.12 +  }, 0);
    1.13 +});
    1.14 +
    1.15 +addEventListener('visibilitychange', function() {
    1.16 +  alert(name + ':' + (document.hidden ? 'hidden' : 'visible'));
    1.17 +});
    1.18 +
    1.19 +</script>
    1.20 +</body>
    1.21 +</html>

mercurial