Title: [295251] trunk/LayoutTests/http/tests/media/modern-media-controls/macos-fullscreen-media-controls/macos-fullscreen-media-controls-live-broadcast.html
Revision
295251
Author
drou...@apple.com
Date
2022-06-03 16:49:42 -0700 (Fri, 03 Jun 2022)

Log Message

[ Mac ] http/tests/media/modern-media-controls/macos-fullscreen-media-controls/macos-fullscreen-media-controls-live-broadcast.html is a flaky text failure
https://bugs.webkit.org/show_bug.cgi?id=239091
<rdar://problem/91594397>

Unreviewed test fix.

* LayoutTests/http/tests/media/modern-media-controls/macos-fullscreen-media-controls/macos-fullscreen-media-controls-live-broadcast.html:
Only listen for `"webkitfullscreenchange"` once in case the `<video>` exiting fullscreen somehow
happens before the test fully finishes.

Canonical link: https://commits.webkit.org/251299@main

Modified Paths

Diff

Modified: trunk/LayoutTests/http/tests/media/modern-media-controls/macos-fullscreen-media-controls/macos-fullscreen-media-controls-live-broadcast.html (295250 => 295251)


--- trunk/LayoutTests/http/tests/media/modern-media-controls/macos-fullscreen-media-controls/macos-fullscreen-media-controls-live-broadcast.html	2022-06-03 23:45:34 UTC (rev 295250)
+++ trunk/LayoutTests/http/tests/media/modern-media-controls/macos-fullscreen-media-controls/macos-fullscreen-media-controls-live-broadcast.html	2022-06-03 23:49:42 UTC (rev 295251)
@@ -27,7 +27,7 @@
         shadowRoot.host.remove();
         finishJSTest();
     });
-});
+}, { once: true });
 
 media.addEventListener("play", () => {
     media.pause();
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to