mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-25 05:41:12 +00:00
b904b2d437
Prior to this change, SpecialPowers used the extension id to identiy extension instances in inter-process messaging. This required that an id be allocated from the content process side when loadExtension() was called, but that made it impossible to test code that exercises the code path in the AddonManager that allocates ids for extensions that do not include an id in the manifest (it also made the loadExtension() api clunky). With this change, SpecialPowers allocates an internal identifier for messaging, but this identifier is separate from extension ids. Confusingly, we still store the actual extension id in an id property on the object returned by loadExtension(), but there are enough tests that reference this that it would be unnecessarily disruptive to get rid of it so it stays for now... MozReview-Commit-ID: G6xk1mBJJL8 --HG-- extra : rebase_source : a0891e5ba308972c35813f55274badf9edde62f7 extra : source : e8818ef3c28489e196d1db92cabf224861b693c9 |
||
---|---|---|
.. | ||
content | ||
bootstrap.js | ||
install.rdf | ||
jar.mn | ||
Makefile.in | ||
moz.build |