Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /css/css-view-transitions/navigation/reload-crash.html - WPT Dashboard Interop Dashboard
<!DOCTYPE html>
<html class="reftest-wait">
<title>View transitions: reload crash</title>
<link rel="author" href="mailto:vmpstr@chromium.org">
<script src="/common/reftest-wait.js"></script>
<script>
onload = () => requestAnimationFrame(() => requestAnimationFrame(() => requestAnimationFrame(() => {
let run = (new URLSearchParams(window.location.search)).get('run') || 0;
if (run > 5) {
takeScreenshot();
} else {
const url = window.location.href.split('?')[0];
window.location.href = url + `?run=${run + 1}`;
}
})));
</script>
</html>