summaryrefslogtreecommitdiffstats
path: root/dom/tests/reftest/bug559996-ref.html
blob: 05178cbf8d6e78d02be197c34a70e54ce5b025c0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<html class="reftest-wait">
<body>

<iframe src="bug559996-ref-iframe.html#down" style="height: 200px; width: 200px"></iframe>
<script>
function endTest() {
  document.documentElement.removeAttribute("class");
}
function waitForInactivity() {
  setTimeout(endTest, 1000);
}
document.addEventListener("MozReftestInvalidate", waitForInactivity, false);
</script>

</body>
</html>