Permalink
Show file tree
Hide file tree
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Add support to return an adjusted URL when accessed from JavaScript b…
…indings https://bugs.webkit.org/show_bug.cgi?id=248490 rdar://100472810 Reviewed by Wenson Hsieh. This patch adds support to return an adjusted URL for JavaScript bindings after a cross site top level navigation. * Source/WebCore/dom/Document.cpp: (WebCore::Document::setURL): (WebCore::Document::urlForBindings const): (WebCore::Document::adjustedURL const): * Source/WebCore/dom/Document.h: (WebCore::Document::urlForBindings const): Deleted. * Source/WebCore/page/Location.cpp: (WebCore::Location::url const): Canonical link: https://commits.webkit.org/257490@main
- Loading branch information
1 parent
bc01428
commit 31e1e52a0454daa2899f75aa1ec6af635a3828ed
Showing
3 changed files
with
38 additions
and
2 deletions.
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