Commit Graph

108 Commits

Author SHA1 Message Date
Robert Helmer
d1ba2c77d0 Bug 1325501 - move addons manager from XHR to ServiceRequest r=kmag
MozReview-Commit-ID: J0ytKWqDOr3
2016-12-22 19:54:57 -08:00
Wes Kocher
c0b7d27da7 Backed out 3 changesets (bug 1325501) for xpcshell failures a=backout
Backed out changeset b6e50911ef79 (bug 1325501)
Backed out changeset c0493757d21e (bug 1325501)
Backed out changeset 880decff07b3 (bug 1325501)
2016-12-24 00:38:09 -08:00
Robert Helmer
9844a358e5 Bug 1325501 - move addons manager from XHR to ServiceRequest r=kmag
MozReview-Commit-ID: J0ytKWqDOr3
2016-12-22 19:54:57 -08: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
e7b1b3284f Bug 1316882: Turn on space-before-function-paren eslint rule (toolkit). r=jaws
MozReview-Commit-ID: FGFwg6TYkvm
2016-11-11 15:22:34 -08:00
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
Ehsan Akhgari
a1e56b3576 Bug 1261019 - Part 3: Remove Navigator.mozApps and code depending on it; r=myk,jryans,fabrice,mcmanus,peterv 2016-10-13 13:18:41 -04:00
Dave Townsend
f321247ead Bug 1294439: Mark add-ons as soft disabled even if they are app disabled. r=aswan
MozReview-Commit-ID: FcPwk5YEtRT
2016-08-11 10:57:39 -07:00
Jared Wein
4518d81cb5 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
MozReview-Commit-ID: EMjJ3yWt9Wt
2016-08-04 03:28:58 -04:00
Jared Wein
e8b20b6db5 Bug 1292035 - Enable the space-before-blocks rule for eslint. This patch was generated using 'eslint --fix'. r=markh
MozReview-Commit-ID: 2XVoU05YvES
2016-08-04 03:20:25 -04:00
Jared Wein
ebf1ccbe46 Bug 1291855 - Enable the no-else-return rule for eslint. r=Felipe,kmag,mossop
MozReview-Commit-ID: DYOmE6xwMJh
2016-08-03 18:54:59 -04:00
Benjamin Smedberg
b6342360ed Bug 1277905 - Remove in-product links to plugincheck. Also remove support for startup prompting about outdated plugins, since that's annoying to users. r=Gijs r=mconley
MozReview-Commit-ID: 69tMivPVxuW
2016-07-01 11:01:07 -04:00
Mathieu Leplatre
3a5e00caec Bug 1266235 - Use blocklist prefix in preference names. r=MattN
MozReview-Commit-ID: 5aeoiSEMwYw
2016-05-19 12:51:13 +02:00
Mathieu Leplatre
e4ced7e5a5 Bug 1266235 - Rename KintoBlocklist to blocklist-clients. r=mgoodwin
MozReview-Commit-ID: Eus7sHqN6GW
2016-04-28 13:24:21 +02:00
Mathieu Leplatre
4e6d6edf45 Bug 1266235 - Rename kinto-updater to blocklist-updater. r=mgoodwin
MozReview-Commit-ID: 8bDKbxbIus3
2016-04-21 17:22:01 +02:00
Wes Kocher
b485522141 Backed out 4 changesets (bug 1266235) for test_ev_certs.js failures on pretty much every platform CLOSED TREE
Backed out changeset f684fac95bd9 (bug 1266235)
Backed out changeset f560cba61749 (bug 1266235)
Backed out changeset 5f321f10da1e (bug 1266235)
Backed out changeset 93deaa5641bc (bug 1266235)
2016-05-10 13:46:28 -07:00
Mathieu Leplatre
fc5dcb8227 Bug 1266235 - Use blocklist prefix in preference names. r=Mattn
MozReview-Commit-ID: 5aeoiSEMwYw
2016-04-29 12:48:45 +02:00
Mathieu Leplatre
11e8bd7366 Bug 1266235 - Rename KintoBlocklist to blocklist-clients,r=mgoodwin
MozReview-Commit-ID: Eus7sHqN6GW
2016-04-28 13:24:21 +02:00
Mathieu Leplatre
ad3f8b6fee Bug 1266235 - Rename kinto-updater to blocklist-updater,r=mgoodwin
MozReview-Commit-ID: 8bDKbxbIus3
2016-04-21 17:22:01 +02:00
Mathieu Leplatre
cedb55f2e4 Bug 1257547 - Remove coupling of gfx code to XML file blocklist.xml. r=milan
MozReview-Commit-ID: HDVVvsk077x
2016-05-04 16:12:19 +02: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
Mark Goodwin
825631bd3c Bug 1224531 - Provide a mechanism for the updater to drive kinto collection sync r=rnewman,mossop
There are two parts to this change. The first is a module to drive kinto
collection sync. This gives server-provided last-update times to each module
managing collection information so that data is only fetched when updates are
necessary. This also keeps track of when pings last took place (for future use)
and any apparent difference between client and server clock (we need this later
for the content signing work).

Currently only one module (the kinto version of the OneCRL client) consumes this
information, though more will follow.

The second is a minor change to nsBlocklistService.js to ensure that this ping
takes place whenever the existing blocklist ping happens.

MozReview-Commit-ID: 7SN03AOJ4Wc
2016-03-15 08:55:23 +00: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
Robert Helmer
5509e8a304 bug 1228792 - use standard version of catch r=mossop 2015-12-02 18:42:16 -08:00
Dave Townsend
5493324e67 Bug 1226386: Switch to fat arrow functions where it makes sense. r=rhelmer
Both for brevity and to remove the use of |self = this|.
2015-11-20 10:06:14 -08: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
Mark Goodwin
a19009b46f Bug 1224467 - Add a preference for controlling whether oneCRL blocklists are updated via AMO. Also add a test. r=keeler,mossop 2015-11-18 11:53:54 +00:00
Fabrice Desré
c95756e8f2 Bug 1208242 - Part 1: hook up the blocklist service to b2g web extensions r=mossop,ferjm
* * *
Bug 1208242 - Part 3: don't ship things that should not ship r=me
2015-10-29 07:32:50 -07:00
Wes Kocher
0509b52086 Backed out 3 changesets (bug 1208242) for emulator mochitest bustage
Backed out changeset d2f87bf3aced (bug 1208242)
Backed out changeset c38225ee4378 (bug 1208242)
Backed out changeset 6dff307959f2 (bug 1208242)
2015-10-29 12:17:25 -07:00
Fabrice Desré
a193604b42 Bug 1208242 - Part 1: hook up the blocklist service to b2g web extensions r=mossop,ferjm 2015-10-29 07:32:50 -07:00
Tooru Fujisawa
2bf22fe47e Bug 1217082 - Remove for-each from toolkit/. r=Gijs 2015-10-19 04:57:14 +09:00
Dave Townsend
f657500ff0 Bug 1192924: Expose the update URL formatting code a new UpdateUtils module. r=rstrong
The GMP manager uses a copy of the update service's url formatting code and has
since fallen out of sync. We'll also want to use the same formatting code for
the system add-on update checks so this just exposes it in a shared API.

I've moved the contents of UpdateChannel.jsm to UpdateUtils.jsm and exposed
formatUpdateURL there as well as a few properties that the update service still
needs access to.

UpdateUtils.UpdateChannel is intended to be a lazy getter but isn't for now
since tests expect to be able to change the update channel at runtime.
2015-09-14 11:04:19 -07:00
Wes Kocher
69b522405d Backed out 3 changesets (bug 1192924) for Android bustage CLOSED TREE
Backed out changeset 30d612836685 (bug 1192924)
Backed out changeset a6860f880e01 (bug 1192924)
Backed out changeset 10e1fa2cc23a (bug 1192924)
2015-09-22 11:02:55 -07:00
Dave Townsend
eef8701d19 Bug 1192924: Expose the update URL formatting code a new UpdateUtils module. r=rstrong
The GMP manager uses a copy of the update service's url formatting code and has
since fallen out of sync. We'll also want to use the same formatting code for
the system add-on update checks so this just exposes it in a shared API.

I've moved the contents of UpdateChannel.jsm to UpdateUtils.jsm and exposed
formatUpdateURL there as well as a few properties that the update service still
needs access to.

UpdateUtils.UpdateChannel is intended to be a lazy getter but isn't for now
since tests expect to be able to change the update channel at runtime.
2015-09-14 11:04:19 -07:00
Randall Barker
126902018d Bug 1163664 - Don't check for plugin blocklist state on Android. r=jimm, r=jchen 2015-06-01 17:05:00 -04:00
Jim Mathies
a6d2a0d5f6 Bug 1129040 - In the content process blocklist shim fail in all addon related calls. r=Mossop 2015-05-01 10:07:19 -05:00
Jim Mathies
0ca55ca47f Bug 1129040 - Forward blocklist update notifications to the content process. r=Mossop 2015-05-01 10:07:18 -05:00
Mark Goodwin
c59ad3af3e Bug 1138848 - Modify OneCRL blocklist for subject / public key blocking (r=keeler, unfocused) 2015-03-31 15:10:09 -07:00
Jim Mathies
dd27094d4e Bug 1129040 - Add a blocklist shim in the content process and forward requests to the parent process. r=Mossop 2015-03-23 08:40:08 -05:00
Benjamin Smedberg
35d39b1ff4 Trivial, no bug: add missing semicolon to nsBlocklistService.js to avoid a strict warning. 2015-03-04 10:48:04 -05:00
Benjamin Smedberg
ba030d9126 Bug 1134615 - Refactor the blocklist matching code in _getPluginBlocklistState into _getPluginBlocklistEntry so that getPluginBlocklistURL and getPluginInfoURL return the correct block entry. r=Mossop 2015-02-19 13:07:59 -05:00
Robert Strong
2b9dfd112a Bug 897031 - NS_ERROR_XPC_GS_RETURNED_FAILURE at nsBlocklistService.js:70 followed by ReferenceError: gApp is not defined, on green Windows debug mochitest runs. r=dtownsend 2015-02-24 14:11:33 -08:00
Hector Zhao
efef51f0ef Bug 1129287 - Fix not rejecting partial name matches for plugin blocklist entries. r=gfritzsche 2015-02-04 12:27:54 +08:00
Mark Goodwin
02440491ff Bug 1024809 - (OneCRL) Create a blocklist mechanism to revoke intermediate certs. r=keeler r=Unfocused 2015-01-07 06:08:00 +01:00
Carsten "Tomcat" Book
90ecf6b8b7 Backed out changeset b38a8e2203a1 (bug 1024809) for Android 4 perma failures 2014-11-28 12:23:19 +01:00
Mark Goodwin
c2c304e074 Bug 1024809 - (OneCRL) Create a blocklist mechanism to revoke intermediate certs. (r=keeler,Unfocused) 2014-11-27 23:36:00 +01:00
Carsten "Tomcat" Book
5f2181ecb3 Backed out changeset 761071f57ab6 (bug 1024809) for emulator ics bustage 2014-11-27 16:30:41 +01:00
Mark Goodwin
44c4438f31 Bug 1024809 - (OneCRL) Create a blocklist mechanism to revoke intermediate certs. r=keeler,Unfocused 2014-11-27 04:12:00 +01:00