gecko-dev/toolkit/mozapps/extensions
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 1292042 - Enable the keyword-spacing rule for eslint. Most of this patch was autogenerated by 'eslint --fix'. Files with .xml extension needed to be changed by hand due to limitations of custom plugin. r=markh 2016-08-04 03:28:58 -04:00
docs Bug 1284564 - correct update behavior section of system add-on spec r=mkelly 2016-07-05 09:59:22 -07:00
internal Bug 1263011: Part 2 - Implement WebExtensions Experiments prototype. r=aswan 2016-08-05 14:20:54 -07:00
test Bug 1286908 Remove id allocation from SpecialPowers loadExtension() r=kmag 2016-08-02 16:04:37 -07:00
.eslintrc Bug 1245916: Turn on no-undef in toolkit/mozapps/extensions. r=rhelmer 2016-02-03 22:48:48 -08:00
AddonContentPolicy.cpp Bug 1277106 - Part 2: Expand MOZ_UTF16() strings to u"" string literals. r=Waldo 2016-07-20 22:03:25 -07:00
AddonContentPolicy.h Bug 1254194: Add a validator for custom add-on content security policies. r=billm f=aswan 2016-04-23 20:41:14 -07:00
addonManager.js Backed out changeset fbf164ef9e70 (bug 1287125) for perma failing in browser_webapi_install.js after merged 2016-07-18 09:06:42 +02:00
AddonManager.jsm Bug 1292042 - Enable the keyword-spacing rule for eslint. Most of this patch was autogenerated by 'eslint --fix'. Files with .xml extension needed to be changed by hand due to limitations of custom plugin. r=markh 2016-08-04 03:28:58 -04:00
AddonManagerWebAPI.cpp Bug 1262218 - Update permissions for APIs used for addon discovery. r=rhelmer 2016-04-15 16:04:01 -07:00
AddonManagerWebAPI.h Bug 1268077: expose AddonListener through mozAddonManager r=rhelmer,smaug 2016-05-27 15:43:05 -07:00
AddonPathService.cpp Bug 1263935 - Expose native version of mapURIToAddonId via amIAddonPathService. r=mossop 2016-04-26 07:11:15 -07:00
AddonPathService.h
amContentHandler.js Bug 1226386: Remove functions names where possible. r=rhelmer 2015-11-19 16:35:41 -08:00
amIAddonManager.idl
amIAddonPathService.idl Bug 1263935 - Expose native version of mapURIToAddonId via amIAddonPathService. r=mossop 2016-04-26 07:11:15 -07:00
amInstallTrigger.js Bug 1292042 - Enable the keyword-spacing rule for eslint. Most of this patch was autogenerated by 'eslint --fix'. Files with .xml extension needed to be changed by hand due to limitations of custom plugin. r=markh 2016-08-04 03:28:58 -04:00
amIWebInstaller.idl
amIWebInstallListener.idl
amWebAPI.js Bug 1288480 - ESLint fix a=me CLOSED TREE 2016-07-21 15:53:09 -07:00
amWebInstallListener.js Bug 1292042 - Enable the keyword-spacing rule for eslint. Most of this patch was autogenerated by 'eslint --fix'. Files with .xml extension needed to be changed by hand due to limitations of custom plugin. r=markh 2016-08-04 03:28:58 -04:00
ChromeManifestParser.jsm Bug 1245649: Turn on no-trailing-spaces. r=Gijs 2016-02-03 14:22:33 -08:00
DeferredSave.jsm Bug 1292042 - Enable the keyword-spacing rule for eslint. Most of this patch was autogenerated by 'eslint --fix'. Files with .xml extension needed to be changed by hand due to limitations of custom plugin. r=markh 2016-08-04 03:28:58 -04:00
extensions.manifest Bug 1245571: Add a window.navigator.mozAddonManager object that can only be accessed by AMO. r=bz 2016-02-19 16:49:30 -08:00
jar.mn Bug 1250967 - Extension inline options do not display, so add back setting.xml r=mossop 2016-03-03 13:11:35 -05:00
LightweightThemeManager.jsm Bug 1292042 - Enable the keyword-spacing rule for eslint. Most of this patch was autogenerated by 'eslint --fix'. Files with .xml extension needed to be changed by hand due to limitations of custom plugin. r=markh 2016-08-04 03:28:58 -04:00
moz.build Bug 1286877 - do not set c-basic-offset for python-mode; r=gps 2016-07-14 10:16:42 -06:00
nsBlocklistService.js Bug 1292042 - Enable the keyword-spacing rule for eslint. Most of this patch was autogenerated by 'eslint --fix'. Files with .xml extension needed to be changed by hand due to limitations of custom plugin. r=markh 2016-08-04 03:28:58 -04:00
nsBlocklistServiceContent.js Bug 1226386: Remove functions names where possible. r=rhelmer 2015-11-19 16:35:41 -08:00