Commit Graph

32 Commits

Author SHA1 Message Date
Chris Pearce
591eb6df76 Bug 1232799 - Remove KEY_PLUGIN_TRIAL_CREATE pref from GMPProvider and friends. r=spohl
The GMPVideoDecoderTrialCreator was removed from Gecko in bug 1232527, and so
we don't need to set/reset this pref in the GMPProvider any more.

--HG--
extra : rebase_source : 3bb70b21388cdc8adb1aec25cff837a0348a6e3c
2015-12-16 10:38:51 +13:00
Dave Townsend
76c0eab703 Bug 1229519: Fix toolkit/modules to pass eslint checks. r=mak
--HG--
extra : commitid : 9muV4FzxxCp
extra : rebase_source : 2d651bfb17cd89768cff1f62d2ee7550a9c2589d
extra : amend_source : 5a0584163aaec0534dab50a8cac8597b58214f24
2015-12-03 09:58:56 -08:00
Dave Townsend
77f3ee0b44 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.

--HG--
extra : commitid : I89HsxRnP9T
extra : rebase_source : 1b38a03e202f73ba214604e083745e8c6b5984b5
2015-09-08 15:00:28 -07: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
b3e382b93e 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.

--HG--
extra : commitid : 31m1WDO3PCP
extra : rebase_source : f018d36b94460942b217e9a6bb4ec146309f9a55
extra : histedit_source : 15e2e92984ee8747b59d0278dab12f6872a17223
2015-09-08 15:00:28 -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
Chris Pearce
7cbbd23be8 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
64db2267cf 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
99f8369616 Bug 1190503 - Add telemetry to report details on GMP update failures - r=cpearce,vladan 2015-09-01 17:31:48 +12:00
Chris Pearce
31c698a9fa 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
318f9f9614 Merge mozilla-central to mozilla-inbound 2015-06-05 15:36:32 +02:00
Vijendra Singh
6a8897c583 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
--HG--
extra : commitid : 95dJTvZxnDR
2015-06-04 17:21:17 -07:00
Chris Pearce
142d30bad9 Bug 1169129 - reset media.{0}.trial-create on GMP install. r=spohl 2015-06-05 21:55:52 +12:00
ziyunfei
e1db0f779e 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
3a0ac45225 Bug 1139958 - Start using AppConstants.jsm in Toolkit r=mossop 2015-04-07 16:09:49 +08:00
Philip Chee
0e80e38542 Backed out changeset: 764b057e1c3f (Bug 1139958 - Start using AppConstants.jsm in Toolkit) 2015-03-28 20:54:30 +08:00
Philip Chee
be21402ef6 Bug 1139958 - Start using AppConstants.jsm in Toolkit r=mossop
--HG--
extra : transplant_source : %C6%E2%5D%90JP%7E%0E1j%29%95%CF%C0%A8%F5%93g%7C%20
2015-03-28 19:17:24 +08:00
Stephen Pohl
9fca7ec964 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
beb8ffb65b Bug 1137961 - Check for new GMPs as soon as possible after an update to Firefox. r=gavin
--HG--
extra : rebase_source : f7bc5450fadf4dbac23151f53348d70c25eed50e
2015-03-06 10:14:00 +01:00
Stephen Pohl
4d92017f98 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
debdcc634d Bug 1089867: Enable download and install of EME plugins. r=gfritzsche 2015-02-17 12:50:10 -05:00
Stephen Pohl
0565e62818 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
7abbe11005 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
70f2e5e54b Bug 1049774 - GMPInstallManager logs when logging disabled. r=gfritzsche 2014-09-15 20:25:12 -04:00
Chris Peterson
d126c3c24f Bug 1063962 - Replace jschar typedef with C++11 char16_t type. r=jandem 2014-07-21 21:43:21 -07:00
Qeole
45d26eb52c 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
408bc9dae9 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
38921a66a3 Bug 1041181 - Fix repeated GMPInstallManager log lines. r=gfritzsche 2014-07-25 21:51:41 -04:00
Georg Fritzsche
64bb3bdfec 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
6e19f04d1f Bug 1040937 - GMPInstallManager/OpenH264Provider using wrong directory/plugin names r=unfocused a=kwierso 2014-07-19 00:58:22 -04:00
Brian R. Bondy
db8a57e7d8 Bug 1009816 - Firefox desktop: openh264 updates: check, download, install. r=rstrong, gfritzsche a=kwierso 2014-07-17 21:46:10 -04:00