зеркало из https://github.com/mozilla/gecko-dev.git
5c5f0f87f5
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 |
||
---|---|---|
.. | ||
GenericFactory.cpp | ||
GenericFactory.h | ||
ManifestParser.cpp | ||
ManifestParser.h | ||
Module.h | ||
ModuleUtils.h | ||
StaticComponents.cpp.in | ||
StaticComponents.h | ||
components.conf | ||
gen_static_components.py | ||
moz.build | ||
nsCategoryCache.cpp | ||
nsCategoryCache.h | ||
nsCategoryManager.cpp | ||
nsCategoryManager.h | ||
nsCategoryManagerUtils.h | ||
nsComponentManager.cpp | ||
nsComponentManager.h | ||
nsComponentManagerUtils.cpp | ||
nsComponentManagerUtils.h | ||
nsICategoryManager.idl | ||
nsIClassInfo.idl | ||
nsIComponentManager.idl | ||
nsIComponentRegistrar.idl | ||
nsIFactory.idl | ||
nsIModule.idl | ||
nsIServiceManager.idl | ||
nsServiceManagerUtils.h |