Commit Graph
3 Commits
Author SHA1 Message Date
Florian Quèze 63de711857 Bug 1331081 - script generated patch to omit addEventListener/removeEventListener's third parameter when it's false, r=jaws. 2017-01-17 11:50:25 +01:00
Kris Maglione c6f4e86064 Bug 1318089: Turn on no-unused-vars ESLint rule for toolkit/mozapps/extensions. r=rhelmer
MozReview-Commit-ID: 1GdxLoW3FLX
2016-11-16 13:01:16 -08:00
Dave Townsend 1530896215 Bug 1245571: Add a window.navigator.mozAddonManager object that can only be accessed by AMO. r=bz
Since we want to add a few APIs that AMO can use to query and manipulate the
user's add-ons we want to expose a custom API. This implements the webidl and
a stub implementation in JavaScript. We use the webidl functions for controlling
access to the API, only the AMO production domains (and some test domains when
testing is enabled) can access it and only when retrieved securely and not in
an inner frame of a page that shouldn't have the API.

MozReview-Commit-ID: 3HUUrduuHwf
2016-02-19 16:49:30 -08:00