Details
-
Task
-
Resolution: Fixed
-
P2: Important
-
None
-
None
-
-
a6e727470 (dev)
Description
qtloader.js currently fetches and copies the preload files manually. Emscripten provides FS.createPreloadedFile for this use case, can we use that function instead?
The main benefit of this (besides removing removing code from qtloader.js), is that Emscripten runs "preload plugins" for preloaded files. In the case of .so shared object files this will compile the .so to a wasm module ahead of time, which avoids the restrictions that some browsers have on compiling wasm modules synchronously.
Attachments
For Gerrit Dashboard: QTBUG-121817 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
542853,5 | wasm: make qtloader.js use FS.createPreloadedFile when preloading | dev | qt/qtbase | Status: MERGED | +2 | 0 |