1
0
Fork 0
firefox/testing/web-platform/tests/css/css-view-transitions/navigation/reload-crash.html
Daniel Baumann 5e9a113729
Adding upstream version 140.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
2025-06-25 09:37:52 +02:00

18 lines
630 B
HTML

<!DOCTYPE html>
<html class="reftest-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 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>