Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Lookalike character sanitization should only apply to main resource URLs
https://bugs.webkit.org/show_bug.cgi?id=257134 Reviewed by Aditya Keerthi. Make a slight adjustment to lookalike character sanitization, so that it only applies when loading main resources. * Source/WebCore/loader/FrameLoader.cpp: (WebCore::FrameLoader::updateRequestAndAddExtraFields): * Tools/TestWebKitAPI/cocoa/TestNavigationDelegate.h: * Tools/TestWebKitAPI/cocoa/TestNavigationDelegate.mm: (-[TestNavigationDelegate _webView:didChangeLookalikeCharactersFromURL:toURL:]): Also, add a new callback on `TestNavigationDelegate`, which we'll adopt in a new API test. Canonical link: https://commits.webkit.org/264357@main
- Loading branch information
Showing
3 changed files
with
8 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters