content/test/reftest/bug559996-ref.html

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/content/test/reftest/bug559996-ref.html	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,16 @@
     1.4 +<html class="reftest-wait">
     1.5 +<body>
     1.6 +
     1.7 +<iframe src="bug559996-ref-iframe.html#down" style="height: 200px; width: 200px"></iframe>
     1.8 +<script>
     1.9 +function endTest() {
    1.10 +  document.documentElement.removeAttribute("class");
    1.11 +}
    1.12 +function waitForInactivity() {
    1.13 +  setTimeout(endTest, 1000);
    1.14 +}
    1.15 +document.addEventListener("MozReftestInvalidate", waitForInactivity, false);
    1.16 +</script>
    1.17 +
    1.18 +</body>
    1.19 +</html>

mercurial