Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: b4b66eb1ce3f12f7cb18078e0035da20053a9065
https://github.com/WebKit/WebKit/commit/b4b66eb1ce3f12f7cb18078e0035da20053a9065
Author: Cole Carley <[email protected]>
Date: 2026-09-18 (Fri, 18 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/QuirkBehaviors.h
M Source/WebCore/page/QuirkTable.cpp
M Source/WebCore/page/Quirks.cpp
M Tools/TestWebKitAPI/Tests/WebCore/Quirks.cpp
Log Message:
-----------
[Quirks] Move UA string Quirks into the Quirk table
https://bugs.webkit.org/show_bug.cgi?id=324382
rdar://187615771
Reviewed by Brent Fulgham.
Move the UA string Quirks into the Quirk table.
The firefox UA string Quirks were dead code before this patch,
so I removed them.
Test: Tools/TestWebKitAPI/Tests/WebCore/Quirks.cpp
* Source/WebCore/page/QuirkBehaviors.h:
(WebCore::QuirkParameters::fromUserAgent):
(WebCore::QuirkParameters::fromChromeCompatibilityVersion):
* Source/WebCore/page/QuirkTable.cpp:
* Source/WebCore/page/Quirks.cpp:
(WebCore::Quirks::needsCustomUserAgentOverride):
(WebCore::Quirks::scriptsToEvaluateBeforeRunningScriptFromURL):
* Tools/TestWebKitAPI/Tests/WebCore/Quirks.cpp:
(TestWebKitAPI::TEST_F(QuirksTest,
NeedsCustomUserAgentOverrideIsRegistrableDomainGranularity)):
Canonical link: https://commits.webkit.org/321411@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications