Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: f2c8fbb52ccbbea8a1a05517a4c8d7df04e18bb7
https://github.com/WebKit/WebKit/commit/f2c8fbb52ccbbea8a1a05517a4c8d7df04e18bb7
Author: Cole Carley <[email protected]>
Date: 2026-09-02 (Wed, 02 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/QuirkNames.h
M Source/WebCore/page/QuirkTable.cpp
M Source/WebCore/page/QuirkTable.h
M Source/WebCore/page/Quirks.cpp
M Source/WebCore/page/URLMatch.cpp
M Source/WebCore/page/URLMatch.h
M Tools/TestWebKitAPI/CMakeLists.txt
M Tools/TestWebKitAPI/Tests/WebCore/Quirks.cpp
M Tools/TestWebKitAPI/Tests/WebCore/URLMatch.cpp
Log Message:
-----------
[Quirks] Add global quirks to the quirk table
https://bugs.webkit.org/show_bug.cgi?id=322874
rdar://186121147
Reviewed by Brent Fulgham.
There are some static members of the Quirks class that act
as global quirks.
This patch adds them as named members of the Quirk table.
Tests: Tools/TestWebKitAPI/Tests/WebCore/Quirks.cpp
Tools/TestWebKitAPI/Tests/WebCore/URLMatch.cpp
* LayoutTests/fast/quirks/active-quirks-by-domain-expected.txt:
* LayoutTests/platform/glib/fast/quirks/active-quirks-by-domain-expected.txt:
* LayoutTests/platform/ipad/fast/quirks/active-quirks-by-domain-expected.txt:
* LayoutTests/platform/ios/fast/quirks/active-quirks-by-domain-expected.txt:
*
LayoutTests/platform/mac-sequoia/fast/quirks/active-quirks-by-domain-expected.txt:
*
LayoutTests/platform/mac-tahoe/fast/quirks/active-quirks-by-domain-expected.txt:
* Source/WebCore/page/QuirkNames.h:
* Source/WebCore/page/QuirkTable.cpp:
(WebCore::resolveSiteSpecificQuirks):
(WebCore::resolveTopURLQuirks):
* Source/WebCore/page/QuirkTable.h:
* Source/WebCore/page/Quirks.cpp:
* Source/WebCore/page/URLMatch.cpp:
(WebCore::URLMatch::RefinementSet::matchesPathPattern const):
(WebCore::URLMatch::RefinementSet::matches const):
* Source/WebCore/page/URLMatch.h:
(WebCore::URLRefinement::pathIs):
(WebCore::URLRefinement::queryContains):
(WebCore::URLMatch::applyRefinement):
* Tools/TestWebKitAPI/CMakeLists.txt:
* Tools/TestWebKitAPI/Tests/WebCore/Quirks.cpp:
(TestWebKitAPI::resolveQuirksForTopURL):
(TestWebKitAPI::TEST_F(QuirksTest, EmbeddedQuirksResolveFromTheDocumentURL)):
(TestWebKitAPI::TEST_F(QuirksTest, ShouldTranscodeHeicImagesForURL)):
(TestWebKitAPI::TEST_F(QuirksTest, IsMicrosoftTeamsRedirectURL)):
(TestWebKitAPI::TEST_F(QuirksTest,
ShouldAllowNavigationToCustomProtocolWithoutUserGesture)):
(TestWebKitAPI::TEST_F(QuirksTest, NeedsPartitionedCookies)):
(TestWebKitAPI::TEST_F(QuirksTest,
ShouldOmitTouchEventDOMAttributesForDesktopWebsite)):
* Tools/TestWebKitAPI/Tests/WebCore/URLMatch.cpp:
(TestWebKitAPI::TEST(URLMatchTest, PathIsMatchesTheWholePath)):
(TestWebKitAPI::TEST(URLMatchTest, QueryContainsSearchesOnlyTheQuery)):
(TestWebKitAPI::TEST(URLMatchTest, QueryContainsStacksWithAPathRefinement)):
Canonical link: https://commits.webkit.org/320376@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications