gecko-dev/js/xpconnect
Kris Maglione a70175c241 Bug 1398895: Part 2 - Ensure component loader initialization after user prefs load. r=mccr8
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
2017-09-11 13:52:13 -07:00
..
crashtests Bug 1382531 - Part 1: rewrite crashtest for data: URI is unique opaque origin. r=smaug 2017-07-25 09:56:02 +08:00
idl Bug 1398198 - browser_startup.js should show the stack when a JS file was loaded earlier than expected, r=felipe,mccr8. 2017-09-13 21:19:53 +02:00
loader Bug 1398895: Part 2 - Ensure component loader initialization after user prefs load. r=mccr8 2017-09-11 13:52:13 -07:00
public Bug 1389510 part 3 - Remove getProperty/setProperty hooks from ClassOps. r=evilpie 2017-08-25 10:12:16 +02:00
shell Backed out changeset 109e89a7d561 (bug 1391420) for busting Linux pgo builds. r=backout on a CLOSED TREE 2017-08-23 18:12:46 +02:00
src Merge m-c to autoland, a=merge CLOSED TREE 2017-09-11 15:21:36 -07:00
tests Bug 1398895: Part 2 - Ensure component loader initialization after user prefs load. r=mccr8 2017-09-11 13:52:13 -07:00
wrappers Merge m-c to autoland, a=merge CLOSED TREE 2017-09-11 15:21:36 -07:00
moz.build Bug 1286877 - do not set c-basic-offset for python-mode; r=gps 2016-07-14 10:16:42 -06:00