gecko-dev/xpcom/components
Mike Hommey 5c5f0f87f5 Bug 1542214 - Prevent registering the same CID and contract IDs during component manager initialization. r=froydnj
Because not all static components are using the static registration yet,
we can end up in situations where a same component is registered
multiple times, which can have some unexpected consequences.

Interestingly enough, this change revealed that we did have static
registration in place for components that were kept under the old system
after bug 1478124 and bug 1524687.

There are also possibly some non-obvious things that can happen while
migrating the remaining components, like what happened to me while I
worked on @mozilla.org/widget/components;1 (see bug 1542214 comment 0).

Differential Revision: https://phabricator.services.mozilla.com/D26698

--HG--
extra : moz-landing-system : lando
2019-04-09 18:39:00 +00:00
..
GenericFactory.cpp
GenericFactory.h
ManifestParser.cpp Bug 1442778 - Add "chromeContext" parameter to console API and console service messages. r=smaug 2019-04-01 22:42:34 +00:00
ManifestParser.h
Module.h Bug 1539029 - pt 2 - add RDD process selector to prefs module. r=froydnj 2019-04-09 21:07:40 +00:00
ModuleUtils.h
StaticComponents.cpp.in Bug 1524688: Part 1b - Support static JavaScript components in browser_all_files_referenced. r=mccr8 2019-01-31 14:24:37 -08:00
StaticComponents.h Bug 1524688: Part 1b - Support static JavaScript components in browser_all_files_referenced. r=mccr8 2019-01-31 14:24:37 -08:00
components.conf Bug 1539029 - pt 1 - give RDD its own process selector. r=froydnj 2019-04-09 21:13:16 +00:00
gen_static_components.py Bug 1539029 - pt 2 - add RDD process selector to prefs module. r=froydnj 2019-04-09 21:07:40 +00:00
moz.build Bug 1541792 - Replace linker magic with manual component registration. r=froydnj 2019-04-05 02:30:56 +00:00
nsCategoryCache.cpp
nsCategoryCache.h
nsCategoryManager.cpp Bug 1534878 - xpcom: #include headers for global functions' declarations. r=erahm 2019-03-07 23:32:54 -08:00
nsCategoryManager.h
nsCategoryManagerUtils.h
nsComponentManager.cpp Bug 1542214 - Prevent registering the same CID and contract IDs during component manager initialization. r=froydnj 2019-04-09 18:39:00 +00:00
nsComponentManager.h Bug 1524688: Part 64 - Reduce component manager allocations. r=froydnj 2019-01-30 16:55:45 -08:00
nsComponentManagerUtils.cpp
nsComponentManagerUtils.h
nsICategoryManager.idl
nsIClassInfo.idl Bug 1526382 - Part 2: Make nsIClassInfo use Array<nsIIDRef> for 'interfaces', r=mccr8 2019-02-13 21:42:08 +00:00
nsIComponentManager.idl Bug 1524688: Part 1b - Support static JavaScript components in browser_all_files_referenced. r=mccr8 2019-01-31 14:24:37 -08:00
nsIComponentRegistrar.idl
nsIFactory.idl
nsIModule.idl
nsIServiceManager.idl
nsServiceManagerUtils.h