layout/reftests/reftest-sanity/test-async.html

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/layout/reftests/reftest-sanity/test-async.html	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,12 @@
     1.4 +<html class="reftest-wait">
     1.5 +<body style="background-color: red;"
     1.6 +      onload="HandleLoad()">
     1.7 +  <script>
     1.8 +    function HandleLoad() {
     1.9 +      setTimeout(function() {
    1.10 +        document.body.style.backgroundColor = "green";
    1.11 +        document.documentElement.className = "";
    1.12 +      }, 100);
    1.13 +    }
    1.14 +  </script>
    1.15 +</body>

mercurial