blob: c28bd36030b25624dc0edafd08cead01e7a2e989 [file] [log] [blame]
<!DOCTYPE html>
<html class="test-wait">
<title>View transitions: reload crash</title>
<link rel="help" href="https://www.w3.org/TR/css-view-transitions-1/">
<link rel="author" href="mailto:vmpstr@chromium.org">
<script>
onload = () => requestAnimationFrame(() => requestAnimationFrame(() => requestAnimationFrame(() => {
let run = (new URLSearchParams(window.location.search)).get('run') || 0;
if (run > 5) {
document.documentElement.removeAttribute("class");
} else {
const url = window.location.href.split('?')[0];
window.location.href = url + `?run=${run + 1}`;
}
})));
</script>
</html>