summaryrefslogtreecommitdiffstats
path: root/dom/tests/reftest/bug559996.html
blob: e6dda8df9119efc3652c63022cf3e928d0a9d0c0 (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-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>