gecko-dev/dom/tests/reftest/bug559996-ref.html

17 строки
378 B
HTML

<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>