gecko-dev/testing/specialpowers
Andrew Swan b904b2d437 Bug 1286908 Remove id allocation from SpecialPowers loadExtension() r=kmag
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
2016-08-02 16:04:37 -07:00
..
content Bug 1286908 Remove id allocation from SpecialPowers loadExtension() r=kmag 2016-08-02 16:04:37 -07:00
bootstrap.js Bug 1219442 - Re-write specialpowers as a restartless addon, r=jmaher 2015-11-05 10:00:59 -05:00
install.rdf Bug 1219442 - Re-write specialpowers as a restartless addon, r=jmaher 2015-11-05 10:00:59 -05:00
jar.mn Bug 1027734 - Convert mozPay to WebIDL. r=bzbarsky. 2016-01-26 18:38:03 +01:00
Makefile.in Bug 1219442 - Re-write specialpowers as a restartless addon, r=jmaher 2015-11-05 10:00:59 -05:00
moz.build Bug 1286877 - do not set c-basic-offset for python-mode; r=gps 2016-07-14 10:16:42 -06:00