Change defaultOptions, in the web/app_options.js file, to a Map

Compared to regular Objects there's a number of advantages to using Maps, e.g. they support proper iteration.

Additionally the conditionally defined options are moved into the main list, to maintain alphabetical order for each individual `OptionKind`.
Finally, the `enableSelectionRendering` option is moved to its "correct" position and the `enableFakeMLManager` option is limited to TESTING builds (since that's consistent with its usage in `web/app.js`).

*Note:* Despite making the source-code larger, the size of the `gulp mozcentral` bundle is *reduced* by `686` bytes.
This commit is contained in:
Jonas Jenwald 2026-07-26 15:21:53 +02:00
parent 2ea8820d92
commit 5406d3159b

File diff suppressed because it is too large Load Diff