Bug 282596

Summary: [Windows] Bundle WebKit.resources folder
Product: WebKit Reporter: Max Schmitt <max>
Component: PlatformAssignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Normal CC: Hironori.Fujii, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: Safari Technology Preview   
Hardware: Other   
OS: Windows 11   

Max Schmitt
Reported 2024-11-05 05:10:24 PST
Currently the Minibrowser on Windows ships a WebKit.resources directory while other platforms bundle it. The directory consists of 1273 files and 19 MB in total. Bundling would make distribution easier, since esp. file writes are slow on Windows. Probably Resource Files should be used in order to replace these: https://github.com/WebKit/WebKit/blob/460abf576622806c66767e3ac5c9f01ee912070e/Source/WebCore/platform/win/WebCoreBundleWin.cpp#L49-L73 and align them with GTK/WPE which is using g_resources_lookup_data: https://github.com/search?q=repo%3AWebKit%2FWebKit+g_resources_lookup_data+&type=code
Attachments
Fujii Hironori
Comment 1 2024-11-05 13:57:01 PST
Windows resource file doesn't have a concept of path, but resource ID. I think zip (compressed or uncompressed) or a custom resource file based on SQLite would be better. https://www.sqlite.org/fasterthanfs.html
Fujii Hironori
Comment 2 2024-11-05 15:14:30 PST
Radar WebKit Bug Importer
Comment 3 2024-11-12 05:11:13 PST
Note You need to log in before you can comment on or make changes to this bug.