mirror of
https://github.com/electron/electron.git
synced 2026-02-19 03:14:51 -05:00
fix: enable WASM trap handlers in all Node.js processes ``` Original reason for revert: Some apps started throwing exception on startup https://github.com/electron/electron/issues/48956 ``` We now move the trap handler registeration before any user script execution. Add a fuse to support disabling the feature is application needs to run in memory constrained environments.
15 lines
577 B
Plaintext
15 lines
577 B
Plaintext
{
|
|
"_comment": "Modifying the fuse schema in any breaking way should result in the _version prop being incremented. NEVER remove a fuse or change its meaning, instead mark it as removed with 'r'",
|
|
"_schema": "0 == off, 1 == on, r == removed fuse",
|
|
"_version": 1,
|
|
"run_as_node": "1",
|
|
"cookie_encryption": "0",
|
|
"node_options": "1",
|
|
"node_cli_inspect": "1",
|
|
"embedded_asar_integrity_validation": "0",
|
|
"only_load_app_from_asar": "0",
|
|
"load_browser_process_specific_v8_snapshot": "0",
|
|
"grant_file_protocol_extra_privileges": "1",
|
|
"wasm_trap_handlers": "1"
|
|
}
|