Title: [291418] trunk/Source/WebCore
- Revision
- 291418
- Author
- [email protected]
- Date
- 2022-03-17 10:19:22 -0700 (Thu, 17 Mar 2022)
Log Message
PiP on Vimeo freezes when toggled
https://bugs.webkit.org/show_bug.cgi?id=237985
Patch by Peng Liu <[email protected]> on 2022-03-17
Reviewed by Jer Noble.
Add a quirk for vimeo.com to disable the "webkitendfullscreen" event when a video enters
picture-in-picture from fullscreen.
Tested manually.
* page/Quirks.cpp:
(WebCore::Quirks::shouldDisableEndFullscreenEventWhenEnteringPictureInPictureFromFullscreenQuirk const):
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (291417 => 291418)
--- trunk/Source/WebCore/ChangeLog 2022-03-17 17:01:50 UTC (rev 291417)
+++ trunk/Source/WebCore/ChangeLog 2022-03-17 17:19:22 UTC (rev 291418)
@@ -1,3 +1,18 @@
+2022-03-17 Peng Liu <[email protected]>
+
+ PiP on Vimeo freezes when toggled
+ https://bugs.webkit.org/show_bug.cgi?id=237985
+
+ Reviewed by Jer Noble.
+
+ Add a quirk for vimeo.com to disable the "webkitendfullscreen" event when a video enters
+ picture-in-picture from fullscreen.
+
+ Tested manually.
+
+ * page/Quirks.cpp:
+ (WebCore::Quirks::shouldDisableEndFullscreenEventWhenEnteringPictureInPictureFromFullscreenQuirk const):
+
2022-03-17 Chris Dumez <[email protected]>
Stop returning NodeVector from functions
Modified: trunk/Source/WebCore/page/Quirks.cpp (291417 => 291418)
--- trunk/Source/WebCore/page/Quirks.cpp 2022-03-17 17:01:50 UTC (rev 291417)
+++ trunk/Source/WebCore/page/Quirks.cpp 2022-03-17 17:19:22 UTC (rev 291418)
@@ -1403,7 +1403,7 @@
#if ENABLE(VIDEO_PRESENTATION_MODE)
// This quirk disables the "webkitendfullscreen" event when a video enters picture-in-picture
// from fullscreen for the sites which cannot handle the event properly in that case.
- // We should remove the quirk once rdar://problem/73261957 has been fixed.
+ // We should remove the quirk once <rdar://problem/73261957> and <rdar://problem/90393832> have been fixed.
if (!needsQuirks())
return false;
@@ -1411,7 +1411,7 @@
auto host = m_document->topDocument().url().host();
auto domain = RegistrableDomain(m_document->topDocument().url());
- m_shouldDisableEndFullscreenEventWhenEnteringPictureInPictureFromFullscreenQuirk = equalLettersIgnoringASCIICase(host, "trailers.apple.com") || domain == "espn.com"_s;
+ m_shouldDisableEndFullscreenEventWhenEnteringPictureInPictureFromFullscreenQuirk = equalLettersIgnoringASCIICase(host, "trailers.apple.com") || domain == "espn.com"_s || domain == "vimeo.com"_s;
}
return *m_shouldDisableEndFullscreenEventWhenEnteringPictureInPictureFromFullscreenQuirk;
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes