diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-06-12 05:43:14 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-06-12 05:43:14 +0000 |
commit | 8dd16259287f58f9273002717ec4d27e97127719 (patch) | |
tree | 3863e62a53829a84037444beab3abd4ed9dfc7d0 /testing/web-platform/tests/css/css-view-transitions/iframe-transition-destroyed-document-crash.html | |
parent | Releasing progress-linux version 126.0.1-1~progress7.99u1. (diff) | |
download | firefox-8dd16259287f58f9273002717ec4d27e97127719.tar.xz firefox-8dd16259287f58f9273002717ec4d27e97127719.zip |
Merging upstream version 127.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'testing/web-platform/tests/css/css-view-transitions/iframe-transition-destroyed-document-crash.html')
-rw-r--r-- | testing/web-platform/tests/css/css-view-transitions/iframe-transition-destroyed-document-crash.html | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/testing/web-platform/tests/css/css-view-transitions/iframe-transition-destroyed-document-crash.html b/testing/web-platform/tests/css/css-view-transitions/iframe-transition-destroyed-document-crash.html index 31f6a10ed6..13e743c3a1 100644 --- a/testing/web-platform/tests/css/css-view-transitions/iframe-transition-destroyed-document-crash.html +++ b/testing/web-platform/tests/css/css-view-transitions/iframe-transition-destroyed-document-crash.html @@ -1,18 +1,17 @@ <!DOCTYPE html> -<html class=reftest-wait> +<html class=test-wait> <title>View transitions: crash test</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> <html> <head> <script> function eventhandler1() { - var var00106 = htmlvar00011.contentDocument; - var var00228 = var00106.startViewTransition(); + var iframeDoc = iframe.contentDocument; + var viewTransition = iframeDoc.startViewTransition(); requestAnimationFrame(() => { requestAnimationFrame(() => { - requestAnimationFrame(takeScreenshot); + requestAnimationFrame(() => document.documentElement.classList.remove("test-wait")); }) }); } @@ -20,8 +19,7 @@ function eventhandler1() { </script> </head> <body> -<iframe id="htmlvar00011" onunload="eventhandler3()" border="0" srcdoc="A#:^;<gV<>8" style=":{,J" referrerpolicy="unsafe-url" background="!xp>" nohref="nohref" nonce="nonce" inputEncoding="s" offsetX="0.3538512271910753">:+j&;&-^>.7xf\jZ1,xb</iframe> -<style id="htmlvar00014" nonce="nonce" media="screen and (min-width:0px)" onerror="eventhandler1()" onload="eventhandler1()" dir="N5!" updateRangeEnd="0" abbr="4IvGMN[Wxd" symbols="=d##y#)DA4V8ya}KO.cv" frameBorder="^b*]&:|#lB:" search="N">ynFXo*</style> +<iframe id="iframe" onunload="eventhandler3()" border="0" srcdoc="A#:^;<gV<>8" style=":{,J" referrerpolicy="unsafe-url" background="!xp>" nohref="nohref" nonce="nonce" inputEncoding="s" offsetX="0.3538512271910753">:+j&;&-^>.7xf\jZ1,xb</iframe> +<style nonce="nonce" media="screen and (min-width:0px)" onerror="eventhandler1()" onload="eventhandler1()" dir="N5!" updateRangeEnd="0" abbr="4IvGMN[Wxd" symbols="=d##y#)DA4V8ya}KO.cv" frameBorder="^b*]&:|#lB:" search="N">ynFXo*</style> </body> </html> - |