electron
electron copied to clipboard
feat: enable WASM trap handlers in all Node.js processes
Description of Change
Original reason for revert:
Some apps started throwing exception on startup
https://github.com/electron/electron/issues/48956
We now move the trap handler registration before any user script execution. Add a fuse to support disabling the feature for application that needs to run in memory constrained environments.
Release Notes
Notes: Enable wasm trap handlers behind WasmTrapHandlers fuse
Do Not Merge
Wait for verification from apps in https://github.com/electron/electron/issues/48956
Do Not Merge
Wait for verification from apps in #48956
Converting to a draft for now just to be safe