Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: c8003a12b86c0c7e1a2287b1aa339bb0dedc481a
https://github.com/WebKit/WebKit/commit/c8003a12b86c0c7e1a2287b1aa339bb0dedc481a
Author: Cole Carley <[email protected]>
Date: 2026-08-19 (Wed, 19 Aug 2026)
Changed paths:
A LayoutTests/fast/quirks/active-quirks-by-domain-expected.txt
A LayoutTests/fast/quirks/active-quirks-by-domain.html
A LayoutTests/platform/glib/fast/quirks/active-quirks-by-domain-expected.txt
A LayoutTests/platform/ios/fast/quirks/active-quirks-by-domain-expected.txt
A
LayoutTests/platform/mac-sequoia/fast/quirks/active-quirks-by-domain-expected.txt
A
LayoutTests/platform/mac-tahoe/fast/quirks/active-quirks-by-domain-expected.txt
M Source/WebCore/page/Quirks.cpp
M Source/WebCore/page/Quirks.h
M Source/WebCore/testing/Internals.cpp
M Source/WebCore/testing/Internals.h
M Source/WebCore/testing/Internals.idl
Log Message:
-----------
Add tests for the active quirks for relevant domains per platform
https://bugs.webkit.org/show_bug.cgi?id=321960
rdar://185144394
Reviewed by Zak Ridouh.
I am going to start making large changes to the quirking system. I want to be
sure
that my changes do not affect what quirks are active for which websites.
This patch tests many quirked domains. The expected.txt file is a sorted list of
active quirks under each domain being tested. This way, I can make large changes
while ensuring that each site continues being quirked in the same way.
Test: fast/quirks/active-quirks-by-domain.html
* Source/WebCore/page/Quirks.cpp:
* Source/WebCore/page/Quirks.h:
* Source/WebCore/testing/Internals.cpp:
(WebCore::Internals::activeQuirks const):
* Source/WebCore/testing/Internals.h:
* Source/WebCore/testing/Internals.idl:
* LayoutTests/fast/quirks/active-quirks-by-domain-expected.txt: Added.
* LayoutTests/fast/quirks/active-quirks-by-domain.html: Added.
* LayoutTests/platform/glib/fast/quirks/active-quirks-by-domain-expected.txt:
Added.
* LayoutTests/platform/ios/fast/quirks/active-quirks-by-domain-expected.txt:
Added.
* LayoutTests/fast/quirks/active-quirks-sdk-gated-expected.txt: Added.
* LayoutTests/fast/quirks/active-quirks-sdk-gated.html: Added.
* LayoutTests/fast/quirks/resources/quirk-test-domains.js: Added.
(isSDKGatedQuirk):
(reportActiveQuirks):
* LayoutTests/platform/ios/fast/quirks/active-quirks-sdk-gated-expected.txt:
Added.
*
LayoutTests/platform/mac-sequoia/fast/quirks/active-quirks-sdk-gated-expected.txt:
Added.
*
LayoutTests/platform/mac-tahoe/fast/quirks/active-quirks-sdk-gated-expected.txt:
Added.
* LayoutTests/platform/mac/fast/quirks/active-quirks-sdk-gated-expected.txt:
Added.
Canonical link: https://commits.webkit.org/319478@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications