Commit Graph
7 Commits
Author SHA1 Message Date
Chris Peterson ce551e51b9 Bug 870698 - Part 4: Replace Equals("") with EqualsLiteral(""). r=erahm
MozReview-Commit-ID: G1GhyvD29WK
2017-09-06 01:13:45 -07:00
Tim Huang a1f591cc41 Bug 1384330 - Part 1: Blocking the mozAddonManager when pref 'privacy.resistFingerprinting.block_mozAddonManager' is true. r=arthuredelstein,mossop
This patch adds a hidden pref 'privacy.resistFingerprinting.block_mozAddonManager',
which is false by default. When this is true, the navigator.mozAddonManager will
be blocked even the website is AMO.

The purpose of this pref is for Tor browser can disable navigator.mozAddonManager
through this.

MozReview-Commit-ID: Lf37gHXETCz
2017-09-14 15:11:21 +08:00
Michael Kaply cb2905f340 Bug 1359837 - Block mozAddonsManager if xpinstall.enabled is false/locked. r=mossop
MozReview-Commit-ID: 3BUxRLMjYkF
2017-04-28 10:42:05 -05:00
Andrew Swan 57a7511000 Bug 1308688 Expose mozAddonManager allowed hosts to chrome r=bkelly
MozReview-Commit-ID: JI3qMmCtYFT
2016-10-28 14:39:18 -07:00
Wil Clouser 2975c810d9 Bug 1288178 - add Test Pilot to mozAddonManager allow list r=rhelmer
MozReview-Commit-ID: Klx75vFhKUI
2016-08-09 15:15:01 -07:00
Andrew Swan 4125268108 Bug 1262218 - Update permissions for APIs used for addon discovery. r=rhelmer
MozReview-Commit-ID: H7xXTpnsCC2
2016-04-15 16:04:01 -07: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