Commit Graph

75 Commits

Author SHA1 Message Date
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
Chris Peterson
3daec5976b Bug 1102131 - Part 5: Remove deprecated let blocks and expressions in toolkit. r=Mossop 2014-11-19 23:50:25 -08:00
Alessio Placitelli
a1dd7ae955 Bug 1038145 - Make use of the new infoURL item from the blocklist for plugins with an update. r=irving 2014-10-15 15:23:22 +02: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
Jim Blandy
39dc0c6097 Bug 914753: Make Emacs file variable header lines correct, or at least consistent. DONTBUILD r=ehsan
The -*- file variable lines -*- establish per-file settings that Emacs will
pick up. This patch makes the following changes to those lines (and touches
nothing else):

 - Never set the buffer's mode.

   Years ago, Emacs did not have a good JavaScript mode, so it made sense
   to use Java or C++ mode in .js files. However, Emacs has had js-mode for
   years now; it's perfectly serviceable, and is available and enabled by
   default in all major Emacs packagings.

   Selecting a mode in the -*- file variable line -*- is almost always the
   wrong thing to do anyway. It overrides Emacs's default choice, which is
   (now) reasonable; and even worse, it overrides settings the user might
   have made in their '.emacs' file for that file extension. It's only
   useful when there's something specific about that particular file that
   makes a particular mode appropriate.

 - Correctly propagate settings that establish the correct indentation
   level for this file: c-basic-offset and js2-basic-offset should be
   js-indent-level. Whatever value they're given should be preserved;
   different parts of our tree use different indentation styles.

 - We don't use tabs in Mozilla JS code. Always set indent-tabs-mode: nil.
   Remove tab-width: settings, at least in files that don't contain tab
   characters.

 - Remove js2-mode settings that belong in the user's .emacs file, like
   js2-skip-preprocessor-directives.
2014-06-24 22:12:07 -07:00
Roberto A. Vitillo
e22ba0744a Bug 988304 - Avoid main-thread IO for {profile}\blocklist.xml. r=irving 2014-05-15 09:14:00 -04:00
Roberto A. Vitillo
f7a0556f51 Bug 989419 - Remove main-thread IO from background update of {profile}\blocklist.xml. r=irving 2014-04-16 13:50:37 -04:00
Shane Caraveo
cbd0233926 bug 963961 fix intermittent blocklist failure, r=felipe 2014-01-31 11:46:04 -08:00
Sachin Hosmani
e7e80d7245 Bug 897735 - Support regular expression filters for name and creator in extension blocks. r=Unfocused
CLOSED TREE
2014-01-06 14:16:32 +05:30
Ryan VanderMeulen
efc7a0223b Backed out changeset 933bf791b773 (bug 897735) for Windows test bustage.
CLOSED TREE
2014-01-14 11:10:33 -05:00
Sachin Hosmani
1f3982def1 Bug 897735 - Support regular expression filters for name and creator in extension blocks. r=Unfocused 2014-01-06 14:16:32 +05:30
Sachin Hosmani
c663b905ae Bug 802434 - Support resetting preferences when disabling blocklisted add-ons. r=Unfocused 2013-09-14 22:57:09 +05:30
Benjamin Smedberg
2e11f79384 Bug 880675 - Remove the writable nsIPluginTag.blocklisted property, which is a poorly-constructed cache of the blocklist data, r=jschoenick r=unfocused 2013-06-11 10:58:42 -04:00
David Keeler
edf29e77c2 bug 854467 - fix nsIPluginTag enabled state API r=bsmedberg r=unfocused 2013-03-27 14:06:43 -07:00
Ryan VanderMeulen
61dec0baf7 Backed out changeset 9983874bfa63 (bug 854467) for bustage on a CLOSED TREE. 2013-04-09 13:45:39 -04:00
David Keeler
7fdcac29c8 bug 854467 - fix nsIPluginTag enabled state API r=bsmedberg r=unfocused 2013-03-27 14:06:43 -07:00
Shane Caraveo
39d5a0a71e Bug 755126 add social services management to about:addons, r=felipe 2013-02-26 14:50:24 -08:00
Chen Zeyu
5cd74fd487 Bug 813801: null-check blocklistWindow in nsBlocklistService.js. r=dtownsend 2012-12-05 14:13:26 -08:00
Blair McBride
44c263f456 Bug 806534 - Support regular expressions in extension id for blocklist entries. r=Mossop 2012-11-27 16:40:00 +13:00
David Keeler
97b94d74c8 bug 811375 - decouple nsIPluginTag::clicktoplay from click-to-play blocklisting r=joshmoz 2012-11-19 14:03:24 -08: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
Andres Hernandez
68d3cc16c9 Bug 721165 - Extract repeated code for retrieving CHANNEL information from Blocklist and Telemetry to a javascript module r=gavin 2012-09-10 10:54:41 -06:00
David Keeler
5062afdbf0 Bug 789620 - a plugin that gets unblocklisted should go back to normal. r=bmcbride 2012-09-10 14:24:28 -07:00
Blair McBride
c27022ac19 Bug 780313 - Remove unnecessary preprocessing of Toolkit files. r=gavin 2012-08-04 13:22:55 +12:00
David Keeler
61fda60518 bug 760625 - use the blocklist to inform click-to-play plugins. r=joshmoz,bmcbride 2012-07-11 08:56:34 -07:00
Marcos Santiago
59df26ce78 Bug 740237 - Use for...of loops in Add-ons Manager frontend and backend code. r=Unfocused 2012-05-28 00:21:48 +12:00
Gervase Markham
cb6a072c2a Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Blair McBride
d6b7f18054 Bug 746909 - Lazy load AddonRepository, and various other JS modules. r=dtownsend 2012-05-10 14:28:45 +12:00
Geoff Lankow
ea30cec949 Bug 718255 - Merge nsIPrefBranch2 with nsIPrefBranch - Part C, remove uses of nsIPrefBranch2 in toolkit/ ; r=bsmedberg 2012-01-17 14:18:29 +13:00