Commit Graph

30 Commits

Author SHA1 Message Date
Dave Townsend
94567cd7f2 Bug 1192924: Split out add-on update.xml parsing code from GMP modules. r=spohl
The system add-on update checks will use the same update.xml format as GMP so
this splits out the code for parsing and downloading files into a standalone
module that both can reuse.
2015-09-08 15:00:28 -07: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
0737c547c1 Bug 1192924: Split out add-on update.xml parsing code from GMP modules. r=spohl
The system add-on update checks will use the same update.xml format as GMP so
this splits out the code for parsing and downloading files into a standalone
module that both can reuse.
2015-09-08 15:00:28 -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
Chris Pearce
3a0c17a885 Bug 1205178 - Make GMPProvider check that GMPs are the right arch before loading. r=spohl 2015-09-17 13:28:48 +12: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
Edwin Flores
40525f027b Bug 1190503 - Add telemetry to report details on GMP update failures - r=cpearce,vladan 2015-09-01 17:31:48 +12:00
Chris Pearce
901a9a6cd2 Bug 1175006 - Reset state so we re-try creating a trial GMPVideoDecoder whenever Firefox updates. r=spohl 2015-06-17 11:00:42 +12:00
Carsten "Tomcat" Book
4df8387627 Merge mozilla-central to mozilla-inbound 2015-06-05 15:36:32 +02:00
Vijendra Singh
9037b7ba4b Bug 1150688 - Update sections of GMPInstallManager.jsm, which were copied from nsUpdateService.js, to reflect the changes to nsUpdateService.js from bug 1149334. r=spohl 2015-06-04 17:21:17 -07:00
Chris Pearce
5085f950b1 Bug 1169129 - reset media.{0}.trial-create on GMP install. r=spohl 2015-06-05 21:55:52 +12:00
ziyunfei
649e7033e4 Bug 1102219 - Part 4: Replace String.prototype.contains with String.prototype.includes in chrome code. r=till 2015-04-30 00:32:05 +09:00
Philip Chee
cc48129674 Bug 1139958 - Start using AppConstants.jsm in Toolkit r=mossop 2015-04-07 16:09:49 +08:00
Philip Chee
509ae1acb9 Backed out changeset: 764b057e1c3f (Bug 1139958 - Start using AppConstants.jsm in Toolkit) 2015-03-28 20:54:30 +08:00
Philip Chee
02ce7a1bcb Bug 1139958 - Start using AppConstants.jsm in Toolkit r=mossop 2015-03-28 19:17:24 +08:00
Stephen Pohl
489007b587 Bug 1140263: Enable Adobe EME on Windows Vista+ and add a pref to force-enable it on other platforms. r=mossop 2015-03-19 22:59:38 -04:00
Stephen Pohl
167cc46f61 Bug 1137961 - Check for new GMPs as soon as possible after an update to Firefox. r=gavin 2015-03-06 10:14:00 +01:00
Stephen Pohl
a73f0a397e Bug 1089867: Disable and hide Adobe EME by default and add ability to hide hidden GMPs in addon manager. r=gfritzsche 2015-02-17 12:50:27 -05:00
Stephen Pohl
44750419d3 Bug 1089867: Enable download and install of EME plugins. r=gfritzsche 2015-02-17 12:50:10 -05:00
Stephen Pohl
fe941f347a Bug 1117765: Disable OpenH264 module download when media.gmp-gmpopenh264.enabled is set to false. r=bsmedberg 2015-01-05 12:09:24 -05:00
David Rajchenbach-Teller
0d2cec5f72 Bug 1087674 - Handle XHR abort()/timeout and certificate errors more gracefully in GMPInstallmanager. r=gfritzsche
Prior to this patch, a Man in the Middle (MITM) attack on SSL could cause GMPInstallManager to fail during the check for updates, which in turn would cause a crash during shutdown. This was observed in the wild by users of recent versions of Avast, which performs such attacks on SSL as part of its "HTTPS scanning" feature. With this patch, errors are handled more gracefully. The attack still prevents any update (including the install of OpenH264) but at least it does not cause a crash anymore.
2014-10-30 11:27:02 +01:00
Brian R. Bondy
b789c327e6 Bug 1049774 - GMPInstallManager logs when logging disabled. r=gfritzsche 2014-09-15 20:25:12 -04:00
Chris Peterson
def5e6780e Bug 1063962 - Replace jschar typedef with C++11 char16_t type. r=jandem 2014-07-21 21:43:21 -07:00
Qeole
81418d0acb Bug 1045209 - Remove media.gmp-gmpopenh264.path pref and set install path for OpenH264 plugin to <profile-dir>/<gmp-plugin-id>/<version>. r=unfocused,jesup
Certain usage scenarios, like enterprise roaming profile setups, lead to the installed OpenH264 plugin not being found anymore.
We install the plugin into the profile directory, so the fix here is to just store the install path relative the profile and not an absolute path.
We also now store the plugin in a version-specific subdirectory, which avoids further issues like e.g. Windows preventing updates due to locking loaded DLLs.
2014-08-25 17:23:34 +02:00
Brian R. Bondy
98bef8577c Bug 1046644 - Honor OpenH264 autoupdate pref for the initial GMP install check. r=gfritzsche 2014-08-01 16:46:45 -04:00
Brian R. Bondy
6b8099d115 Bug 1041181 - Fix repeated GMPInstallManager log lines. r=gfritzsche 2014-07-25 21:51:41 -04:00
Georg Fritzsche
d9a627791a Bug 1041080 - Fix OpenH264Provider path registration, default enabled state and logging r=Unfocused a=kwierso 2014-07-19 20:01:01 +02:00
Randell Jesup
4c6dd398f3 Bug 1040937 - GMPInstallManager/OpenH264Provider using wrong directory/plugin names r=unfocused a=kwierso 2014-07-19 00:58:22 -04:00
Brian R. Bondy
992292cbe4 Bug 1009816 - Firefox desktop: openh264 updates: check, download, install. r=rstrong, gfritzsche a=kwierso 2014-07-17 21:46:10 -04:00