[webkit-changes] [WebKit/WebKit] 0dc81b: allowedLookalikeCharacterStrings should support mo...
Charlie Wolfe
noreply at github.com
Wed Mar 22 11:00:21 PDT 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 0dc81bf9250bbf7e4aa0f5c591d913c0fc1fa767
https://github.com/WebKit/WebKit/commit/0dc81bf9250bbf7e4aa0f5c591d913c0fc1fa767
Author: Charlie Wolfe <charliew at apple.com>
Date: 2023-03-22 (Wed, 22 Mar 2023)
Changed paths:
M Source/WebKit/WebProcess/WebPage/WebPage.cpp
M Source/WebKit/WebProcess/WebPage/WebPage.h
Log Message:
-----------
allowedLookalikeCharacterStrings should support more than one string per domain
https://bugs.webkit.org/show_bug.cgi?id=254241
rdar://107026826
Reviewed by Wenson Hsieh.
m_allowedLookalikeCharacterStrings currently maps a WebCore::RegistrableDomain to a String. We should
change this to map to a HashSet<String> so we can allow more than one String per domain.
* Source/WebKit/WebProcess/WebPage/WebPage.cpp:
(WebKit::WebPage::setAllowedLookalikeCharacterStrings):
* Source/WebKit/WebProcess/WebPage/WebPage.h:
Canonical link: https://commits.webkit.org/261975@main
More information about the webkit-changes
mailing list