Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 3574f7790d2190267a301c2e211195f2786f6cff
      
https://github.com/WebKit/WebKit/commit/3574f7790d2190267a301c2e211195f2786f6cff
  Author: Charlie Wolfe <[email protected]>
  Date:   2023-03-21 (Tue, 21 Mar 2023)

  Changed paths:
    M Source/WebCore/page/LookalikeCharactersSanitizationData.h
    M Source/WebKit/Platform/cocoa/NetworkConnectionIntegrityHelpers.h
    M Source/WebKit/Shared/WebPageCreationParameters.cpp
    M Source/WebKit/Shared/WebPageCreationParameters.h
    M Source/WebKit/WebProcess/WebPage/WebPage.cpp
    M Source/WebKit/WebProcess/WebPage/WebPage.h
    M Source/WebKit/WebProcess/WebPage/WebPage.messages.in

  Log Message:
  -----------
  Refactor lookalike character sanitization to use the new type
https://bugs.webkit.org/show_bug.cgi?id=251902
rdar://105160778

Reviewed by Wenson Hsieh.

This patch makes changes to lookalike character sanitization such that it
uses the `LookalikeCharacterSanitizationData` struct instead of WTF::String.

* Source/WebCore/page/LookalikeCharactersSanitizationData.h:
(WebCore::LookalikeCharactersSanitizationData::LookalikeCharactersSanitizationData):
(WebCore::LookalikeCharactersSanitizationData::lookalikeCharacters):
* Source/WebKit/Platform/cocoa/NetworkConnectionIntegrityHelpers.h:
(WebKit::LookalikeCharacters::cachedStrings const):
* Source/WebKit/Shared/WebPageCreationParameters.cpp:
(WebKit::WebPageCreationParameters::decode):
* Source/WebKit/Shared/WebPageCreationParameters.h:
* Source/WebKit/WebProcess/WebPage/WebPage.cpp:
(WebKit::WebPage::setLookalikeCharacterStrings):
* Source/WebKit/WebProcess/WebPage/WebPage.h:
* Source/WebKit/WebProcess/WebPage/WebPage.messages.in:

Canonical link: https://commits.webkit.org/261937@main


_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to