Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: cf4ebbe5d88a1c6b84cde33660c6a693e0cdfddd
      
https://github.com/WebKit/WebKit/commit/cf4ebbe5d88a1c6b84cde33660c6a693e0cdfddd
  Author: Chris Dumez <[email protected]>
  Date:   2022-09-18 (Sun, 18 Sep 2022)

  Changed paths:
    M LayoutTests/TestExpectations
    R LayoutTests/http/tests/misc/redirect-to-about-blank-expected.txt
    R LayoutTests/http/tests/misc/redirect-to-about-blank.html
    M 
LayoutTests/imported/w3c/web-platform-tests/html/browsers/browsing-the-web/navigating-across-documents/redirect-to-about.window-expected.txt
    M 
LayoutTests/imported/w3c/web-platform-tests/html/browsers/browsing-the-web/navigating-across-documents/redirect-to-data-expected.txt
    M Source/WebCore/loader/DocumentLoader.cpp
    M Tools/TestWebKitAPI/Tests/WebKitCocoa/ProcessSwapOnNavigation.mm
    M Tools/TestWebKitAPI/Tests/WebKitGLib/TestLoaderClient.cpp

  Log Message:
  -----------
  Do not allow redirecting to data: or about: URLs
https://bugs.webkit.org/show_bug.cgi?id=230158
<rdar://83244357>

Reviewed by Brent Fulgham.

Do not allow redirecting to data: or about: URLs, as per:
- https://github.com/whatwg/html/pull/7042

This aligns our behavior with Blink and gets us closer to Gecko.

* 
LayoutTests/imported/w3c/web-platform-tests/html/browsers/browsing-the-web/navigating-across-documents/redirect-to-about.window-expected.txt:
* 
LayoutTests/imported/w3c/web-platform-tests/html/browsers/browsing-the-web/navigating-across-documents/redirect-to-data-expected.txt:
* Source/WebCore/loader/DocumentLoader.cpp:
(WebCore::DocumentLoader::willSendRequest):

Canonical link: https://commits.webkit.org/254619@main


_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to