mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-25 11:15:34 +00:00
a70175c241
The script precompiler needs to begin its work very early in the startup process in order to be effective. At the moment, this means before user preferences are loaded. It also needs to be able to compile scripts into the shared JSM global when that's in use, in order to avoid unnecessary script clones. Since we can't know whether global sharing is enabled by that point, instead, we just always compile module scripts into the shared module global rather than the XPC compillation scope. This also changes the global sharing tests to make a failure to respect the user preference value a fatal error. MozReview-Commit-ID: G0NkSOl2vU9 --HG-- extra : rebase_source : 4b5e1b10c14dd5cc6609bc589310d12b44f830f5 |
||
---|---|---|
.. | ||
manifest.ini | ||
moz.build | ||
test_loader_global_sharing.py |