Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: ada7fdc9501dcb376b0179c6833dce41aad797e4
      
https://github.com/WebKit/WebKit/commit/ada7fdc9501dcb376b0179c6833dce41aad797e4
  Author: Alex Christensen <achristen...@apple.com>
  Date:   2025-03-19 (Wed, 19 Mar 2025)

  Changed paths:
    M 
LayoutTests/imported/w3c/web-platform-tests/url/a-element-xhtml_include=file-expected.txt
    M 
LayoutTests/imported/w3c/web-platform-tests/url/a-element_include=file-expected.txt
    M 
LayoutTests/imported/w3c/web-platform-tests/url/url-constructor.any.worker_include=file-expected.txt
    M 
LayoutTests/imported/w3c/web-platform-tests/url/url-constructor.any_include=file-expected.txt
    M Source/WTF/wtf/URLParser.cpp

  Log Message:
  -----------
  Fix Windows drive letter after file:/// when parsing URLs
https://bugs.webkit.org/show_bug.cgi?id=290029
rdar://147381130

Reviewed by Anne van Kesteren.

https://url.spec.whatwg.org/#path-state step 1.4.1. has a windows drive letter 
check that is implemented
in Firefox.  This adds it, but rather than add another branch in State::Path 
(which is often run on
thousands or even millions of code points for a single URL) I add a new state, 
State::FilePathStart.

* 
LayoutTests/imported/w3c/web-platform-tests/url/a-element-xhtml_include=file-expected.txt:
* 
LayoutTests/imported/w3c/web-platform-tests/url/a-element_include=file-expected.txt:
* 
LayoutTests/imported/w3c/web-platform-tests/url/url-constructor.any.worker_include=file-expected.txt:
* 
LayoutTests/imported/w3c/web-platform-tests/url/url-constructor.any_include=file-expected.txt:
* Source/WTF/wtf/URLParser.cpp:
(WTF::URLParser::parse):

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