Branch: refs/heads/main Home: https://github.com/WebKit/WebKit Commit: 777ad4c846a81579abb195e0e87b52b6ccd4b6a1 https://github.com/WebKit/WebKit/commit/777ad4c846a81579abb195e0e87b52b6ccd4b6a1 Author: Wenson Hsieh <wenson_hs...@apple.com> Date: 2023-05-04 (Thu, 04 May 2023)
Changed paths: M Source/WebCore/dom/Document.cpp Log Message: ----------- Ignore public suffixes when checking whether to apply adjustments in `Document::urlForBindings` https://bugs.webkit.org/show_bug.cgi?id=256329 rdar://108691950 Reviewed by Aditya Keerthi. In a similar vein to 262965@main, discount public suffixes when determining whether or not we should adjust `urlForBindings`, as long as the top level domain otherwise matches. This patch pulls that previously introduced logic out into a separate lambda function, and consults it in both places. * Source/WebCore/dom/Document.cpp: (WebCore::Document::urlForBindings const): Canonical link: https://commits.webkit.org/263711@main _______________________________________________ webkit-changes mailing list webkit-changes@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-changes