Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 93fbbb94aa29397f4080e837ea52178c881a4568
      
https://github.com/WebKit/WebKit/commit/93fbbb94aa29397f4080e837ea52178c881a4568
  Author: Cole Carley <[email protected]>
  Date:   2026-09-30 (Wed, 30 Sep 2026)

  Changed paths:
    M LayoutTests/fast/quirks/active-quirks-by-domain-expected.txt
    M LayoutTests/platform/glib/fast/quirks/active-quirks-by-domain-expected.txt
    M LayoutTests/platform/ios/fast/quirks/active-quirks-by-domain-expected.txt
    M LayoutTests/platform/ipad/fast/quirks/active-quirks-by-domain-expected.txt
    M 
LayoutTests/platform/mac-sequoia/fast/quirks/active-quirks-by-domain-expected.txt
    M 
LayoutTests/platform/mac-tahoe/fast/quirks/active-quirks-by-domain-expected.txt
    M Source/WebCore/page/QuirkTable.cpp
    M Source/WebCore/page/Quirks.cpp
    M Tools/TestWebKitAPI/Tests/WebCore/Quirks.cpp

  Log Message:
  -----------
  [Quirks] Move user agent override quirks into WebKit
https://bugs.webkit.org/show_bug.cgi?id=325320
rdar://59289090

Reviewed by Brent Fulgham.

Move the user agent override quirks into WebKit. Now all the clients
of WebKit can enjoy these quirks.

Test: Tools/TestWebKitAPI/Tests/WebCore/Quirks.cpp

* Source/WebCore/page/QuirkBehaviors.h:
(WebCore::QuirkParameters::fromSafariVersion):
* Source/WebCore/page/QuirkTable.cpp:
* Source/WebCore/page/Quirks.cpp:
(WebCore::Quirks::needsCustomUserAgentOverride):
* Tools/TestWebKitAPI/Tests/WebCore/Quirks.cpp:
(TestWebKitAPI::TEST_F(QuirksTest, 
NeedsCustomUserAgentOverrideRewritesBaseAgent)):
(TestWebKitAPI::TEST_F(QuirksTest, NeedsCustomUserAgentOverrideSafariVersion)):
(TestWebKitAPI::TEST_F(QuirksTest, 
NeedsCustomUserAgentOverrideLayersChromeCompatibilityOnSafariVersion)):
(TestWebKitAPI::TEST_F(QuirksTest, NeedsCustomUserAgentOverrideChrome152)):
(TestWebKitAPI::TEST_F(QuirksTest, NeedsCustomUserAgentOverrideHSBC)):

Canonical link: https://commits.webkit.org/322299@main



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications

Reply via email to