virtualx-engine/platform/javascript/js/engine
Fabio Alessandrelli 778ef4e217 [HTML5] Fix loading when mime-type is missing.
`WebAssembly.instantiateStreaming` requires the mime-type to be
`application/wasm`, but some servers (including most debug servers) do
not provide the content-type header.

This commit forces it via JavaScript, by creating a `Response` object
with the `wasm` content, and explicitly defined `content-type` header.
2021-03-20 13:41:44 +01:00
..
config.js [HTML5] Drag and drop zip in project manager. 2021-03-12 10:16:02 +01:00
engine.externs.js [HTML5] Preloader fetch, streaming instantiation. 2021-03-05 20:11:18 +01:00
engine.js [HTML5] Fix loading when mime-type is missing. 2021-03-20 13:41:44 +01:00
preloader.js [HTML5] Export process writes sizes in template. 2021-03-05 20:15:38 +01:00