[webkit-changes] [WebKit/WebKit] b70307: [Windows] Fix loading modules from JSC shell

Stephan Szabo noreply at github.com
Tue Mar 28 19:39:50 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: b7030754b74c7c062b2d1a176c05900bbf7ecaa5
      https://github.com/WebKit/WebKit/commit/b7030754b74c7c062b2d1a176c05900bbf7ecaa5
  Author: Stephan Szabo <stephan.szabo at sony.com>
  Date:   2023-03-28 (Tue, 28 Mar 2023)

  Changed paths:
    M Source/JavaScriptCore/jsc.cpp

  Log Message:
  -----------
  [Windows] Fix loading modules from JSC shell
https://bugs.webkit.org/show_bug.cgi?id=254606

Reviewed by Ross Kirsling.

We try to use a \\?\ path for loading modules in
the shell, but this doesn't seem to work with
forward slash directory separators.

\\?\D:\foo\bar can work but \\?\D:/foo/bar
appears to not do so. The docs imply that using
the prefix prevents any of the normal string
manipulation that would go on.

* Source/JavaScriptCore/jsc.cpp:
(fetchModuleFromLocalFileSystem):

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




More information about the webkit-changes mailing list