Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: a6c5148743e3513a8a161e3955811b2046771327
https://github.com/WebKit/WebKit/commit/a6c5148743e3513a8a161e3955811b2046771327
Author: Alex Christensen <[email protected]>
Date: 2025-05-17 (Sat, 17 May 2025)
Changed paths:
M Source/WebCore/platform/Site.cpp
M Source/WebCore/platform/Site.h
M Tools/TestWebKitAPI/Tests/WebCore/RegistrableDomain.cpp
Log Message:
-----------
Make WebCore::Site distinct from HashTableEmptyValueType
https://bugs.webkit.org/show_bug.cgi?id=293155
Reviewed by Sihui Liu.
Add an invalidProtocol for Sites constructed with empty protocols
similar to RegistrableDomain's use of nullOrigin, and for the same reason.
* Source/WebCore/platform/Site.cpp:
(WebCore::invalidProtocol):
(WebCore::nonEmptyProtocol):
(WebCore::Site::Site):
(WebCore::Site::protocol const):
* Source/WebCore/platform/Site.h:
(WebCore::Site::protocol const): Deleted.
* Tools/TestWebKitAPI/Tests/WebCore/RegistrableDomain.cpp:
(TestWebKitAPI::TEST(Site, EmptyMapKey)):
Canonical link: https://commits.webkit.org/295063@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes