gecko-dev/addon-sdk/source
Andrew McCreight bfd580fb71 Bug 1186409 - Use Cu.getGlobalForObject when importing properties off a JSM global. r=kmag
With JSM global sharing, the object returned by Cu.import() is a
NonSyntacticVariablesObject, rather than a global. Various code tries
to use properties from a JSM global via an import.

Cu.importGlobalProperties can also be used in some places.

MozReview-Commit-ID: HudCXO2GKN0

--HG--
extra : rebase_source : 6b5fa6f5509397504cb461a761f6cc2399f18c40
2017-06-23 13:51:14 -07:00
..
app-extension Bug 1329182 - remove trailing newURI null parameters in the rest of the tree, r=jaws. 2017-01-09 20:27:26 +01:00
bin Bug 1216651 - Update CONTRIBUTING.md with updated contributor's list. r=mossop 2015-10-20 10:50:50 -07:00
examples Bug 1169679 - Update add-on manager entry design to match in-content prefs styling. r=dao 2015-10-29 12:00:49 +01:00
lib Bug 1186409 - Use Cu.getGlobalForObject when importing properties off a JSM global. r=kmag 2017-06-23 13:51:14 -07:00
modules/system Bug 1355161 - script-generated patch to replace .{currentThread,mainThread}.dispatch(..., Ci.nsIThread.DISPATCH_NORMAL) with .dispatchToMainThread(...), r=froydnj. 2017-04-14 18:29:12 +02:00
python-lib Bug 1388938 - Disable channel annotation and flashblock in tests harnesses.r=hchang 2017-08-23 15:47:37 -07:00
test Bug 1186409 - Use Cu.getGlobalForObject when importing properties off a JSM global. r=kmag 2017-06-23 13:51:14 -07:00
.gitattributes
.gitignore Bug 1160676: Uplift Add-on SDK to fx-team. a=me 2015-04-24 12:36:06 -07:00
.hgignore
.hgtags
.jpmignore Bug 1160676: Uplift Add-on SDK to fx-team. a=me 2015-04-24 12:36:06 -07:00
.travis.yml Bug 1179013: Uplift Add-on SDK. a=me 2015-06-30 15:10:35 -07:00
CONTRIBUTING.md Bug 1238064 - Update docs to reflect new workflow. r=mossop 2016-03-08 14:49:13 -08:00
LICENSE
README.md Bug 1238064 - Update docs to reflect new workflow. r=mossop 2016-03-08 14:49:13 -08:00
gulpfile.js Bug 1179013: Uplift Add-on SDK. a=me 2015-06-30 15:10:35 -07:00
mapping.json Bug 1196975 - part2: shimwaiver applications. r=mossop 2015-10-09 06:00:00 +02:00
package.json Bug 1179013: Uplift Add-on SDK. a=me 2015-06-30 15:10:35 -07:00

README.md

Mozilla Add-on SDK Build Status

We suggest that developers of new add-ons should look at using WebExtensions.

Using the Add-on SDK you can create Firefox add-ons using standard Web technologies: JavaScript, HTML, and CSS. The SDK includes JavaScript APIs which you can use to create add-ons, and tools for creating, running, testing, and packaging add-ons.

If you find a problem, please report the bug here.

Developing Add-ons

These resources offer some help:

Contributing Code

Please read these two guides if you wish to make some patches to the addon-sdk:

Issues

We use bugzilla as our issue tracker, here are some useful links: