Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 0b3fe21c3dfca7d09f19daa1e7e8e53b44322176
      
https://github.com/WebKit/WebKit/commit/0b3fe21c3dfca7d09f19daa1e7e8e53b44322176
  Author: Anne van Kesteren <ann...@annevk.nl>
  Date:   2025-03-20 (Thu, 20 Mar 2025)

  Changed paths:
    M 
LayoutTests/fast/dom/HTMLAnchorElement/set-href-attribute-protocol-expected.txt
    M LayoutTests/fast/dom/HTMLAnchorElement/set-href-attribute-protocol.html
    M 
LayoutTests/imported/w3c/web-platform-tests/url/url-setters-a-area.window-expected.txt
    M 
LayoutTests/imported/w3c/web-platform-tests/url/url-setters.any.worker_exclude=(file_javascript_mailto)-expected.txt
    M 
LayoutTests/imported/w3c/web-platform-tests/url/url-setters.any.worker_include=mailto-expected.txt
    M 
LayoutTests/imported/w3c/web-platform-tests/url/url-setters.any_exclude=(file_javascript_mailto)-expected.txt
    M 
LayoutTests/imported/w3c/web-platform-tests/url/url-setters.any_include=mailto-expected.txt
    M Source/WTF/wtf/URL.cpp

  Log Message:
  -----------
  URL's protocol setter should forbid switching non-special to special schemes
https://bugs.webkit.org/show_bug.cgi?id=229427
rdar://82549495

Reviewed by Alex Christensen.

Firefox has shipped this for quite a while without much fallout and
it's straightforward to revert if we run into anything.

* 
LayoutTests/fast/dom/HTMLAnchorElement/set-href-attribute-protocol-expected.txt:
* LayoutTests/fast/dom/HTMLAnchorElement/set-href-attribute-protocol.html:
* 
LayoutTests/imported/w3c/web-platform-tests/url/url-setters-a-area.window-expected.txt:
* 
LayoutTests/imported/w3c/web-platform-tests/url/url-setters.any.worker_exclude=(file_javascript_mailto)-expected.txt:
* 
LayoutTests/imported/w3c/web-platform-tests/url/url-setters.any.worker_include=mailto-expected.txt:
* 
LayoutTests/imported/w3c/web-platform-tests/url/url-setters.any_exclude=(file_javascript_mailto)-expected.txt:
* 
LayoutTests/imported/w3c/web-platform-tests/url/url-setters.any_include=mailto-expected.txt:
* Source/WTF/wtf/URL.cpp:
(WTF::URL::setProtocol):

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



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to