Commit Graph

76 Commits

Author SHA1 Message Date
Tooru Fujisawa
65e2703499 Bug 1217082 - Remove for-each from toolkit/. r=Gijs
--HG--
extra : commitid : Ewr7Bixammr
extra : rebase_source : 91e560a7b8b8d4b78debb1db2512867262b18375
2015-10-19 04:57:14 +09:00
Dave Townsend
a22c2d1f9e 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.

--HG--
extra : commitid : KsbH21csjH4
extra : rebase_source : bc7c08de1ec6e802261b8cd294d88ee2c4e75c2d
2015-09-14 11:04:19 -07:00
Wes Kocher
468b697f04 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)

--HG--
rename : toolkit/mozapps/extensions/test/xpcshell/data/system_addons/system1_1.xpi => toolkit/mozapps/extensions/test/xpcshell/data/system_addons/app1/features/system1@tests.mozilla.org.xpi
rename : toolkit/mozapps/extensions/test/xpcshell/data/system_addons/system2_1.xpi => toolkit/mozapps/extensions/test/xpcshell/data/system_addons/app1/features/system2@tests.mozilla.org.xpi
rename : toolkit/mozapps/extensions/test/xpcshell/data/system_addons/system1_2.xpi => toolkit/mozapps/extensions/test/xpcshell/data/system_addons/app2/features/system1@tests.mozilla.org.xpi
rename : toolkit/mozapps/extensions/test/xpcshell/data/system_addons/system3_1.xpi => toolkit/mozapps/extensions/test/xpcshell/data/system_addons/app2/features/system3@tests.mozilla.org.xpi
rename : toolkit/mozapps/extensions/test/xpcshell/data/system_addons/system1_1_badcert.xpi => toolkit/mozapps/extensions/test/xpcshell/data/system_addons/app3/features/system1@tests.mozilla.org.xpi
2015-09-22 11:02:55 -07:00
Dave Townsend
fb7653707b 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.

--HG--
extra : commitid : FuPUB9X4oYJ
extra : rebase_source : cfcd31d7da5f5b636a2ec11546dbada973d681de
extra : histedit_source : 3df840dc502c6ee4177f1858920d1260e4dc27af
2015-09-14 11:04:19 -07:00
Randall Barker
1fc136e380 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
167ae6301c 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
967e987b40 Bug 1129040 - Forward blocklist update notifications to the content process. r=Mossop 2015-05-01 10:07:18 -05:00
Mark Goodwin
1b0d6fb879 Bug 1138848 - Modify OneCRL blocklist for subject / public key blocking (r=keeler, unfocused) 2015-03-31 15:10:09 -07:00
Jim Mathies
ea3c8574a4 Bug 1129040 - Add a blocklist shim in the content process and forward requests to the parent process. r=Mossop
--HG--
extra : rebase_source : 37803cbf174090e817c84ac0390715060c60000b
2015-03-23 08:40:08 -05:00
Benjamin Smedberg
b338c03fbb Trivial, no bug: add missing semicolon to nsBlocklistService.js to avoid a strict warning. 2015-03-04 10:48:04 -05:00
Benjamin Smedberg
0b8c17ae3d Bug 1134615 - Refactor the blocklist matching code in _getPluginBlocklistState into _getPluginBlocklistEntry so that getPluginBlocklistURL and getPluginInfoURL return the correct block entry. r=Mossop
--HG--
extra : rebase_source : ca6e2fe51eb28e8ddd9203d22a57f68096a4b405
extra : amend_source : 62ec06e414a88562bfe1163be2ab8f02602a083e
2015-02-19 13:07:59 -05:00
Robert Strong
cecbc6e4fb 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
910a54cd6d Bug 1129287 - Fix not rejecting partial name matches for plugin blocklist entries. r=gfritzsche 2015-02-04 12:27:54 +08:00
Mark Goodwin ext:(%2C%20Harsh%20Pathak%20%3Chpathak%40mozilla.com%3E)
ea0e5ac119 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
64b43466f7 Backed out changeset b38a8e2203a1 (bug 1024809) for Android 4 perma failures 2014-11-28 12:23:19 +01:00
Mark Goodwin ext:(%2C%20Harsh%20Pathak%20%3Chpathak%40mozilla.com%3E)
4fc60a106f 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
4155be994b Backed out changeset 761071f57ab6 (bug 1024809) for emulator ics bustage 2014-11-27 16:30:41 +01:00
Mark Goodwin ext:(%2C%20Harsh%20Pathak%20%3Chpathak%40mozilla.com%3E)
ce5a887c60 Bug 1024809 - (OneCRL) Create a blocklist mechanism to revoke intermediate certs. r=keeler,Unfocused 2014-11-27 04:12:00 +01:00
Chris Peterson
6e2ef091e8 Bug 1102131 - Part 5: Remove deprecated let blocks and expressions in toolkit. r=Mossop
--HG--
extra : rebase_source : 3581ec35850edb35c921a0d86ddae1391f588135
2014-11-19 23:50:25 -08:00
Alessio Placitelli
29c539ca86 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
4da97bea66 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
7e20285e70 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
abb623bc5b Bug 988304 - Avoid main-thread IO for {profile}\blocklist.xml. r=irving 2014-05-15 09:14:00 -04:00
Roberto A. Vitillo
1dbe9ea212 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
1a09aba0cb bug 963961 fix intermittent blocklist failure, r=felipe 2014-01-31 11:46:04 -08:00
Sachin Hosmani
3bf22859ba 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
72b3035461 Backed out changeset 933bf791b773 (bug 897735) for Windows test bustage.
CLOSED TREE
2014-01-14 11:10:33 -05:00
Sachin Hosmani
ac557339b2 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
0d25d579f8 Bug 802434 - Support resetting preferences when disabling blocklisted add-ons. r=Unfocused 2013-09-14 22:57:09 +05:30
Benjamin Smedberg
249cfee001 Bug 880675 - Remove the writable nsIPluginTag.blocklisted property, which is a poorly-constructed cache of the blocklist data, r=jschoenick r=unfocused
--HG--
extra : rebase_source : 04fd347af86d9bb47493ca37455008dedcc570f4
2013-06-11 10:58:42 -04:00
David Keeler
821a533e0a bug 854467 - fix nsIPluginTag enabled state API r=bsmedberg r=unfocused 2013-03-27 14:06:43 -07:00
Ryan VanderMeulen
6737042960 Backed out changeset 9983874bfa63 (bug 854467) for bustage on a CLOSED TREE. 2013-04-09 13:45:39 -04:00
David Keeler
0b8691d471 bug 854467 - fix nsIPluginTag enabled state API r=bsmedberg r=unfocused 2013-03-27 14:06:43 -07:00
Shane Caraveo
52333447b1 Bug 755126 add social services management to about:addons, r=felipe 2013-02-26 14:50:24 -08:00
Chen Zeyu
15150b5618 Bug 813801: null-check blocklistWindow in nsBlocklistService.js. r=dtownsend 2012-12-05 14:13:26 -08:00
Blair McBride
0dbe0111a2 Bug 806534 - Support regular expressions in extension id for blocklist entries. r=Mossop 2012-11-27 16:40:00 +13:00
David Keeler
3fb3263ebe bug 811375 - decouple nsIPluginTag::clicktoplay from click-to-play blocklisting r=joshmoz 2012-11-19 14:03:24 -08:00
Kyle Huey
0469a02b25 Bug 798491: Add an option to stick all chrome JSMs/JS components in the same compartment. r=mrbkap,philikon
--HG--
extra : rebase_source : 98337b6a8c07d05e8c961a452dd05a7d75c3c60b
2012-10-31 09:13:28 -07:00
Vicamo Yang
a78b5b38c7 Backout 67cb43bb8865: Breaks B2G Marionette 2012-10-31 16:35:11 +08:00
Kyle Huey
9a3674d80a 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
4144129728 Backout a145ded68994, e0cf397089ec & 1545e91c658e (bug 798491) for bustage on a CLOSED TREE 2012-10-30 17:02:31 +00:00
Kyle Huey
50b5d3f681 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
1676f8645e 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
2267136e3c 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
8fce7f179d Bug 789620 - a plugin that gets unblocklisted should go back to normal. r=bmcbride 2012-09-10 14:24:28 -07:00
Blair McBride
fb387b6491 Bug 780313 - Remove unnecessary preprocessing of Toolkit files. r=gavin 2012-08-04 13:22:55 +12:00
David Keeler
6f37861531 bug 760625 - use the blocklist to inform click-to-play plugins. r=joshmoz,bmcbride 2012-07-11 08:56:34 -07:00
Marcos Santiago ext:(%2C%20Jimmy%20Phan%20%3Cjphan9%40gmail.com%3E)
0d3c2c33d0 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
82ff7027aa Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Blair McBride
70f7fb2d11 Bug 746909 - Lazy load AddonRepository, and various other JS modules. r=dtownsend 2012-05-10 14:28:45 +12:00