mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-20 16:55:40 +00:00
f1f3101eb5
For static components, I don't intend to allow removing or replacing CID entries, only contract ID entries. And I would generally prefer, when restoring overrides of those classes, to not create a new dynamic factory entry for the contract ID. We already have the ability to mock components without either of those issues, but registering a new CID entry for the mock (without unregistering the original), and then restoring the original by calling `registerFactory` with a null factory object. This patch updates our existing mocks to behave that way, and paves the way for the rest of the patches. Differential Revision: https://phabricator.services.mozilla.com/D15031 --HG-- extra : rebase_source : 61ef2435d764c2d9daee6a16515eb0efd94a6454 |
||
---|---|---|
.. | ||
mochitest | ||
xpcshell |