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

17 строки
367 B
HTML

<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);
</script>
</body>
</html>