Branch: 
refs/heads/eng/Win-The-generic-URLfileSystemPath-has-to-remove-a-leading-slash
  Home:   https://github.com/WebKit/WebKit
  Commit: 5eba3aad6ed600437c2a54a482a2fee0f37243df
      
https://github.com/WebKit/WebKit/commit/5eba3aad6ed600437c2a54a482a2fee0f37243df
  Author: Fujii Hironori <[email protected]>
  Date:   2023-02-22 (Wed, 22 Feb 2023)

  Changed paths:
    M Source/WTF/wtf/URL.cpp
    M Source/WTF/wtf/cf/URLCF.cpp

  Log Message:
  -----------
  [Win] The generic URL::fileSystemPath has to remove a leading slash
https://bugs.webkit.org/show_bug.cgi?id=252367

Reviewed by NOBODY (OOPS!).

Switched Windows port to use the generic URL::fileSystemPath rather
than one using CF.

URL::fileSystemPath has to remove a leading slash for Windows.
Otherwise it returns a path "/C:/x.txt" for a URL
"file:///C:/x.txt".

* Source/WTF/wtf/URL.cpp:
(WTF::URL::fileSystemPath const):
* Source/WTF/wtf/cf/URLCF.cpp:
(WTF::URL::fileSystemPath const):


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

Reply via email to