trisquel-icecat/icecat/layout/generic/crashtests/1965081.html
2025-10-06 02:35:48 -06:00

22 lines
500 B
HTML

<!DOCTYPE html>
<html class="reftest-wait">
<iframe id="iframe" src="1965081-iframe.html"></iframe>
<script>
function takeSnapshot() {
document.documentElement.removeAttribute("class");
}
var iframe = document.getElementById("iframe");
let hasReloaded = false;
iframe.addEventListener("load", () => {
if (!hasReloaded) {
hasReloaded = true;
iframe.contentWindow.location.reload();
} else {
setTimeout(takeSnapshot, 200);
}
});
</script>
</html>