[webkit-changes] [WebKit/WebKit] 2d4541: Scope the UA override to www.apple.com/apple-events
Olivier Blin
noreply at github.com
Thu Feb 15 03:59:31 PST 2024
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 2d4541ef392983d779bcc4954110eb212eaca029
https://github.com/WebKit/WebKit/commit/2d4541ef392983d779bcc4954110eb212eaca029
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):
Canonical link: https://commits.webkit.org/274711@main
More information about the webkit-changes
mailing list