[webkit-changes] [WebKit/WebKit] f1a9da: Location.replace() is missing canNavigate() check
Chris Dumez
noreply at github.com
Thu Sep 15 09:47:38 PDT 2022
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: f1a9daf23ad9d05a9ff6cf7929389786ddcb5fb0
https://github.com/WebKit/WebKit/commit/f1a9daf23ad9d05a9ff6cf7929389786ddcb5fb0
Author: Chris Dumez <cdumez at apple.com>
Date: 2022-09-15 (Thu, 15 Sep 2022)
Changed paths:
M LayoutTests/imported/w3c/web-platform-tests/html/browsers/browsing-the-web/navigating-across-documents/child-navigates-parent-cross-origin.window-expected.txt
M LayoutTests/platform/glib/imported/w3c/web-platform-tests/html/browsers/browsing-the-web/navigating-across-documents/child-navigates-parent-cross-origin.window-expected.txt
M Source/WebCore/page/Location.cpp
Log Message:
-----------
Location.replace() is missing canNavigate() check
https://bugs.webkit.org/show_bug.cgi?id=245203
Reviewed by Darin Adler.
Location.replace() is missing canNavigate() check, unlike other Location functions.
* LayoutTests/imported/w3c/web-platform-tests/html/browsers/browsing-the-web/navigating-across-documents/child-navigates-parent-cross-origin.window-expected.txt:
* Source/WebCore/page/Location.cpp:
(WebCore::Location::replace):
Canonical link: https://commits.webkit.org/254518@main
More information about the webkit-changes
mailing list