[webkit-changes] [WebKit/WebKit] ef78ee: Scope the UA override to www.apple.com/apple-events
Olivier Blin
noreply at github.com
Thu Feb 15 05:58:11 PST 2024
Branch: refs/heads/webkitglib/2.44
Home: https://github.com/WebKit/WebKit
Commit: ef78ee396c4f62e257cf0348d7d9e825efb9ff84
https://github.com/WebKit/WebKit/commit/ef78ee396c4f62e257cf0348d7d9e825efb9ff84
Author: Olivier Blin <olivier.blin at softathome.com>
Date: 2024-02-15 (Thu, 15 Feb 2024)
Changed paths:
M Source/WebCore/platform/glib/UserAgentQuirks.cpp
M Tools/TestWebKitAPI/Tests/WebCore/UserAgentQuirks.cpp
Log Message:
-----------
Scope the UA override to www.apple.com/apple-events
https://bugs.webkit.org/show_bug.cgi?id=269211
Reviewed by Michael Catanzaro.
A quirk has been introduced in 265206 at main (e0b0d3b7983f) to use a
Chrome user-agent override for apple.com. Limit this to www.apple.com,
so that it does not apply to tv.apple.com (and its custom subdomains).
Otherwise, custom user-agents can not be used for Apple TV+ (rdar://122408473).
https://apple.com/apple-events/ redirects to
https://www.apple.com/apple-events/, so the quirk will still apply to both.
* Source/WebCore/platform/glib/UserAgentQuirks.cpp:
(WebCore::urlRequiresChromeBrowser):
* Tools/TestWebKitAPI/Tests/WebCore/UserAgentQuirks.cpp:
(TestWebKitAPI::TEST):
Originally-landed-as: 274711 at main (2d4541ef3929). https://bugs.webkit.org/show_bug.cgi?id=269211
More information about the webkit-changes
mailing list