Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 448e564f9a2ac507a02a059b5cfe869deeb7f230
https://github.com/WebKit/WebKit/commit/448e564f9a2ac507a02a059b5cfe869deeb7f230
Author: Xi Ruoyao <[email protected]>
Date: 2025-03-16 (Sun, 16 Mar 2025)
Changed paths:
M Source/WebCore/platform/glib/UserAgentQuirks.cpp
M Tools/TestWebKitAPI/Tests/WebCore/UserAgentQuirks.cpp
Log Message:
-----------
[GTK] Bilibili limits video resolution to 720P with webkitgtk-2.48.0
https://bugs.webkit.org/show_bug.cgi?id=289863
Reviewed by Michael Catanzaro.
With the standard WebKitGTK user agent, Bilibili uses the "NativePlayer"
which only supports 720P playback. Use the Firefox user agent to work
it around.
The Chrome user agent also works, but the Firefox user agent has an
additional advantage that the player will respect the "prefer AV1"
setting in its configure interface.
* Source/WebCore/platform/glib/UserAgentQuirks.cpp:
(urlRequiresFirefoxBrowser):
* Tools/TestWebKitAPI/Tests/WebCore/UserAgentQuirks.cpp
(TestWebKitAPI::TEST(UserAgentTest, Quirks)):
Canonical link: https://commits.webkit.org/292245@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes