forked from emscripten-core/emscripten
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert "In MODULARIZE mode avoid modifying the incoming moduleArg. NFC (
emscripten-core#21775)" This change effectively reverts 4dac6d6. It turns out that there is at least one use case where accessing the partially constructed module prior to the promise resolution is necessary. Specifically when using `--preload-files` the file packager output expects to be able to use the `Module.FS` functions before the module is loaded. This PR adds a test for this scenario.
- Loading branch information
Showing
2 changed files
with
26 additions
and
14 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