Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 6eedbb94b3dea4ce23f51563eb49a4a7c5344463
https://github.com/WebKit/WebKit/commit/6eedbb94b3dea4ce23f51563eb49a4a7c5344463
Author: Alex Christensen <[email protected]>
Date: 2023-10-17 (Tue, 17 Oct 2023)
Changed paths:
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.html
M Source/WebCore/loader/DocumentLoader.cpp
M Tools/TestWebKitAPI/Tests/WebKitCocoa/Navigation.mm
Log Message:
-----------
Allow navigation to about scheme URLs without opaque paths
https://bugs.webkit.org/show_bug.cgi?id=263139
rdar://116238322
Reviewed by Chris Dumez.
267754@main prevented navigating to URLs with the about scheme except
about:blank or about:srcdoc.
However, several iOS browsers start by opening the url about://newtab/
so let's allow URLs like that to retain compatibility.
* Source/WebCore/loader/DocumentLoader.cpp:
(WebCore::DocumentLoader::startLoadingMainResource):
* Tools/TestWebKitAPI/Tests/WebKitCocoa/Navigation.mm:
(TEST):
Canonical link: https://commits.webkit.org/269423@main
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes