Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 2d4541ef392983d779bcc4954110eb212eaca029
https://github.com/WebKit/WebKit/commit/2d4541ef392983d779bcc4954110eb212eaca029
Author: Olivier Blin <[email protected]>
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@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
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes