Changeset 277417 in webkit
- Timestamp:
- May 12, 2021, 7:35:32 PM (5 years ago)
- Location:
- trunk/Source/WebKit
- Files:
-
- 2 edited
-
ChangeLog (modified) (1 diff)
-
UIProcess/Inspector/win/InspectorResourceURLSchemeHandler.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit/ChangeLog
r277416 r277417 1 2021-05-12 Fujii Hironori <Hironori.Fujii@sony.com> 2 3 [WinCairo] Failed to open WebInspector UI since r277231 4 https://bugs.webkit.org/show_bug.cgi?id=225715 5 6 Reviewed by Don Olmstead. 7 8 Windows WebKit2 failed to open WebInspector UI after r277231 9 changed Filesystem::pathByAppendingComponent. 10 "inspector-resource:///Main.html" was wrongly mapped to 11 "C:\\Main.html". 12 13 requestURL.fileSystemPath() returns "\Main.html". The preceding 14 "\" should be removed before concatenating it with the bundle path 15 by using FileSystem::pathByAppendingComponent. 16 17 * UIProcess/Inspector/win/InspectorResourceURLSchemeHandler.cpp: 18 (WebKit::InspectorResourceURLSchemeHandler::platformStartTask): Removed the preceding "\". 19 1 20 2021-05-12 Brent Fulgham <bfulgham@apple.com> 2 21 -
trunk/Source/WebKit/UIProcess/Inspector/win/InspectorResourceURLSchemeHandler.cpp
r274912 r277417 45 45 auto& requestURL = task.request().url(); 46 46 auto requestPath = requestURL.fileSystemPath(); 47 if (requestPath.startsWith("\\")) 48 requestPath.remove(0); 47 49 auto path = URL(adoptCF(CFBundleCopyBundleURL(WebCore::webKitBundle())).get()).fileSystemPath(); 48 50 path = FileSystem::pathByAppendingComponent(path, "WebInspectorUI"_s);
Note:
See TracChangeset
for help on using the changeset viewer.