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

  Changed paths:
    M 
LayoutTests/imported/w3c/web-platform-tests/url/resources/setters_tests.json
    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_exclude=(file_javascript_mailto)-expected.txt
    M Source/WTF/wtf/URL.cpp

  Log Message:
  -----------
  Make URL host/hostname setters handle @ and : even more correctly
https://bugs.webkit.org/show_bug.cgi?id=289789

Reviewed by Alex Christensen.

While 292041@main eliminated re-parsing issues, it was not doing the
correct thing for inputs where @ follows a separator (a host "EOF").
This fixes that as well as a similar issue for :.

New tests are upstreamed here:
https://github.com/web-platform-tests/wpt/pull/51354

* LayoutTests/imported/w3c/web-platform-tests/url/resources/setters_tests.json:
* 
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_exclude=(file_javascript_mailto)-expected.txt:
* Source/WTF/wtf/URL.cpp:
(WTF::URL::setHost):
(WTF::URL::setHostAndPort):

Canonical link: https://commits.webkit.org/292290@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