Commit Graph

67 Commits

Author SHA1 Message Date
Jared Wein
0c024fa9ca Bug 1312486 - Enable no-extra-boolean-cast, no-new-object, no-shadow-restricted-names, and spaced-comment rules for eslint. r=standard8
MozReview-Commit-ID: 7Gx90a5y8t6
2016-10-24 13:14:19 -04:00
Andrew Swan
b724044c44 Bug 1311180 Switch mozAddonManager to frame message managers r=rhelmer
MozReview-Commit-ID: GbX0VRn4HUF
2016-10-11 16:40:24 -07:00
Andrew Swan
c0e148aa18 Bug 1091924 Fix up InstallTrigger for e10s-multi r=kmag
MozReview-Commit-ID: HmGZvanRhxl
2016-10-13 11:21:24 -07:00
Christoph Kerschbaumer
11504c0800 Bug 1297338 - Use principalToInherit instead of TriggeringPrincipal within AddonManager.js. r=bz,mossop 2016-09-20 08:37:17 +02:00
Andrew Swan
102f73697b Bug 1285899 Manager mozAddonManager AddonListeners per child r=krizsa
MozReview-Commit-ID: 6xRhWuHf6rq
2016-08-03 13:36:47 -07:00
Andrew Swan
44a0b44a21 bug 1287125 Lock down mozAddonManager.install() r=rhelmer
MozReview-Commit-ID: 7wLqVme2Yzi
2016-07-15 11:40:45 -07:00
Carsten "Tomcat" Book
11113a7fa4 Backed out changeset fbf164ef9e70 (bug 1287125) for perma failing in browser_webapi_install.js after merged 2016-07-18 09:06:42 +02:00
Andrew Swan
9687680ae7 bug 1287125 Lock down mozAddonManager.install() r=rhelmer
MozReview-Commit-ID: 7wLqVme2Yzi
2016-07-15 11:40:45 -07:00
Andrew Swan
0148598946 Bug 1279046 Expose onOperationCancelled to a.m.o r=rhelmer
MozReview-Commit-ID: 2QTjGi8tnjT
2016-06-24 10:16:50 -07:00
Andrew Swan
93c8915030 Bug 1268077: expose AddonListener through mozAddonManager r=rhelmer,smaug
MozReview-Commit-ID: Klw4o0qIvCE
2016-05-27 15:43:05 -07:00
Andrew Swan
81aafc796a Bug 1255040 - Implement mozAddonManager.createInstall(). r=rhelmer
MozReview-Commit-ID: JLrhGywROzt
2016-04-18 13:48:12 -07:00
Dave Townsend
5467318915 Bug 1245571: Allow AMO to be able to query details about an add-on. r=rhelmer
This adds a bunch of structure supporting a promise-based API on the
AddonManager object that is exposed to webpages and adds the first example,
getAddonByID.

MozReview-Commit-ID: CCEFl4R1o81
2016-03-10 09:50:07 -08:00
Dave Townsend
32f3dc9d6a Bug 1257246: Update toolkit/mozapps/extensions for eslint 2. r=aswan
Most of this is fixing functions that in some cases return a value but then
can also run to completion without returning anything. ESLint 2 catches this
where previous versions didn't. Unless there was an obvious other choice I just
made these functions return undefined at the end which is effectively what
already happens.

MozReview-Commit-ID: CRpZy873GP6
2016-04-05 11:32:12 -07:00
Dave Townsend
cbf4f5fcdd Bug 1245916: Turn on no-undef in toolkit/mozapps/extensions. r=rhelmer
Mostly just declaring globals that Cu.imports defines but there are some actual
bugs here that have been fixed as well as one test that just never ran because
of a hidden exception.

MozReview-Commit-ID: J6uIpYp8ANx
2016-02-03 22:48:48 -08:00
Dave Townsend
6146fbb7b2 Backed out changeset 3e5b6df276a9 from bug 1245916 for causing test failures.
MozReview-Commit-ID: CbsTB3xqGC6
2016-02-15 11:36:23 -08:00
Dave Townsend
c661daf87a Bug 1245916: Turn on no-undef in toolkit/mozapps/extensions. r=rhelmer
Mostly just declaring globals that Cu.imports defines but there are some actual
bugs here that have been fixed as well as one test that just never ran because
of a hidden exception.

MozReview-Commit-ID: J6uIpYp8ANx
2016-02-03 22:48:48 -08:00
Sebastian Hengst
797e4d5000 Bug 1239868 - remove unused PREF_EM_UPDATE_INTERVAL. r=Mossop 2016-01-15 13:11:31 +01:00
Dave Townsend
315c15417d Bug 1226386: Remove functions names where possible. r=rhelmer
We used to need explicit names for functions to make stack traces display
properly. The JS engine is smarter now so doesn't need them and they just
make the code messy and redundant.
2015-11-19 16:35:41 -08:00
Shu-yu Guo
37989840cd Bug 1202902 - Mass replace toplevel 'let' with 'var' in preparation for global lexical scope. (rs=jorendorff) 2015-09-15 11:19:45 -07:00
Dave Townsend
4a20a1e68c Bug 1200027: Fix installing add-ons from the AMO discovery pane in the add-ons manager. r=dveditz 2015-08-31 11:23:39 -07:00
Dave Townsend
4618999b6b Bug 1042699: Block cross-origin add-on install requests. r=dveditz 2015-08-18 17:21:05 -07:00
Dave Townsend
a05653e0be Bug 1082764: Use the correct referrer when the content handler catches an XPI install in e10s. r=Unfocused 2014-11-04 23:28:55 -08:00
Dave Townsend
f5d707425c Bug 1084558: Switch the web installer interfaces to use browsers instead of DOM windows. r=Unfocused 2014-11-04 19:20:52 -08:00
Irving Reid
647cd1ac80 Bug 995108 - Disable blocklist and update timers during Addon Manager mochitests. r=mossop 2014-09-02 11:47:11 -04:00
Blake Kaplan
d172b97f15 Bug 952201 - Make installing addons from web content work correctly in e10s. r=bmcbride@mozilla.com 2014-07-18 09:27:29 -07:00
Blair McBride
fed2d4072a Bug 926712 - Use WebIDL to expose InstallTrigger, r=Mossop,bholley 2013-12-12 02:08:00 +00:00
Bill McCloskey
ff36ddc3aa Bug 682048 - Change Firefox frame script handling to support anon/global scope (r=felipe) 2013-11-23 21:32:27 -08:00
Ryan VanderMeulen
8df43cb7cf Backed out changesets e7aa50b69994, bc00eed50b7d, and 30a8127b9277 (bug 682048) for causing frequent B2G reftest timeouts.
CLOSED TREE
2013-12-03 22:44:28 -05:00
Bill McCloskey
1ca8c3fbd0 Bug 682048 - Change Firefox frame script handling to support anon/global scope (r=felipe) 2013-11-23 21:32:27 -08:00
Tom Schuster
133b7d42f9 Bug 870625 - Electrolysis: Add-on installation from addons.mozilla.org should work. r=Mossop 2013-08-09 12:23:49 -04:00
Nils Maier
d8f4d81369 Bug 846019 - Part 1: amIAddonManager: Map URIs to AddonIDs. r=bmcbride 2013-06-14 22:48:06 -04:00
Kyle Huey
76a2832eea Bug 798491: Add an option to stick all chrome JSMs/JS components in the same compartment. r=mrbkap,philikon 2012-10-31 09:13:28 -07:00
Vicamo Yang
ea784216bd Backout 67cb43bb8865: Breaks B2G Marionette 2012-10-31 16:35:11 +08:00
Kyle Huey
c82a2d6fea Bug 798491: Add an option to stick all chrome JSMs/JS components in the same compartment. r=mrbkap,philikon 2012-10-30 12:28:11 -07:00
Ed Morley
c34b7d9377 Backout a145ded68994, e0cf397089ec & 1545e91c658e (bug 798491) for bustage on a CLOSED TREE 2012-10-30 17:02:31 +00:00
Kyle Huey
8078ab712e Bug 798491: Add an option to stick all chrome JSMs/JS components in the same compartment. r=mrbkap,philikon 2012-10-30 08:26:12 -07:00
Atul Jangra
db8be2ae7c Bug 767236 - Part 4: Name all anonymous functions in remaining Add-ons Manager code. r=Unfocused 2012-10-24 22:58:00 +13:00
Philipp von Weitershausen
0829e9bcf4 Bug 776825 - Separate message managers into senders and broadcasters. r=smaug 2012-08-27 11:13:02 -03:00
Dave Townsend
e7d4bbf508 Bug 782881 - Protect against attempts to use the Add-ons Manager APIs after shutdown. r=Unfocused
Bug 782881 - Protect against attempts to use the Add-ons Manager APIs after shutdown. r=Unfocused
2012-05-10 11:33:02 -07:00
Blair McBride
21e4fd1e3c Backout 42bc5a310a29 (bug 782881) due to multi-orange. 2012-08-15 23:07:45 +12:00
Dave Townsend
3cdba3513e Bug 782881 - Protect against attempts to use the Add-ons Manager APIs after shutdown. r=Unfocused 2012-05-10 11:33:02 -07:00
Blair McBride
c27022ac19 Bug 780313 - Remove unnecessary preprocessing of Toolkit files. r=gavin 2012-08-04 13:22:55 +12:00
Fraser Gutteridge
aa5258c985 Bug 759642 - Part 1: Add-ons Manager should use Components.Exception consistently when throwing exceptions. r=Unfocused 2012-07-30 22:46:45 +12:00
Gervase Markham
cb6a072c2a Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Blair McBride
e57aa19f20 Bug 670023 - Use ES5's strict mode in Add-ons Manager frontend and backend code. r=dtownsend 2011-07-19 13:16:35 -07:00
Gavin Sharp
7a6bbaa11d Back out 0f11ca4d1733 (bug 670023) due to xpcshell test failures 2011-07-21 22:20:21 -04:00
Blair McBride
a27157de11 Bug 670023 - Use ES5's strict mode in Add-ons Manager frontend and backend code. r=dtownsend 2011-07-19 13:16:35 -07:00
Tim Taubert
39def6724d Backed out changeset a115d824218c (bug 670023) 2011-07-20 03:28:05 +02:00
Blair McBride
8c3e67983f Bug 670023 - Use ES5's strict mode in Add-ons Manager frontend and backend code. r=dtownsend 2011-07-19 13:16:35 -07:00
Dave Townsend
f8a715e537 Bug 613385: No notifications are sent out for webpage attempts to install add-ons when xpinstall.enabled=false. r=gavin, r=robstrong, a=blocks-betaN 2010-11-24 12:37:28 -08:00