[webkit-changes] [WebKit/WebKit] 3c3163: Fail navigations to about: scheme if the URL is no...
Chris Dumez
noreply at github.com
Thu Sep 7 15:24:40 PDT 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 3c3163e71f647db507949ecebad35d0f2ffb33f3
https://github.com/WebKit/WebKit/commit/3c3163e71f647db507949ecebad35d0f2ffb33f3
Author: Chris Dumez <cdumez at apple.com>
Date: 2023-09-07 (Thu, 07 Sep 2023)
Changed paths:
M LayoutTests/http/tests/dom/window-open-about-webkit-org-and-access-document-async-delegates-expected.txt
M LayoutTests/http/tests/dom/window-open-about-webkit-org-and-access-document-async-delegates.html
M LayoutTests/http/tests/dom/window-open-about-webkit-org-and-access-document-expected.txt
M LayoutTests/http/tests/dom/window-open-about-webkit-org-and-access-document.html
M LayoutTests/http/tests/security/about-url-host.html
M Source/WebCore/loader/DocumentLoader.cpp
M Tools/TestWebKitAPI/Tests/WebKitCocoa/Navigation.mm
Log Message:
-----------
Fail navigations to about: scheme if the URL is not "about:blank" or "about:srcdoc"
https://bugs.webkit.org/show_bug.cgi?id=259946
rdar://57966056
Reviewed by Brent Fulgham.
Fail navigations to about: scheme if the URL is not "about:blank" or "about:srcdoc".
This matches what Blink and Gecko are doing.
* Source/WebCore/loader/DocumentLoader.cpp:
(WebCore::DocumentLoader::startLoadingMainResource):
* Tools/TestWebKitAPI/Tests/WebKitCocoa/Navigation.mm:
(TEST):
Canonical link: https://commits.webkit.org/267754@main
More information about the webkit-changes
mailing list