-
Notifications
You must be signed in to change notification settings - Fork 272
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Progress monitoring: Use a custom instantiateWasm handler to avoid mo…
…nkey-patching WebAssembly.instantiateStreaming (#1305) Monitors the `.wasm` file download through a custom `instantiateWasm` handler passed to the Emscripten module. Before this PR, Playground "decorated" WebAssembly.instantiateStreaming to monitor the stream progress. This introduced additional complexity in [Loopback Request support](#1287) and so this PR replaces it with a less hacky solution. ## Testing instructions Confirm the E2E tests pass
- Loading branch information
Showing
4 changed files
with
50 additions
and
48 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters