Branch: refs/heads/webkitglib/2.48
Home: https://github.com/WebKit/WebKit
Commit: edb00b880f46836b6001613ba93e5c4831aa7535
https://github.com/WebKit/WebKit/commit/edb00b880f46836b6001613ba93e5c4831aa7535
Author: Xi Ruoyao <[email protected]>
Date: 2025-03-17 (Mon, 17 Mar 2025)
Changed paths:
M Source/WebCore/platform/glib/UserAgentQuirks.cpp
M Tools/TestWebKitAPI/Tests/WebCore/UserAgentQuirks.cpp
Log Message:
-----------
Cherry-pick 292245@main (448e564f9a2a).
https://bugs.webkit.org/show_bug.cgi?id=289863
[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
Canonical link: https://commits.webkit.org/290945.68@webkitglib/2.48
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