Граф коммитов

37 Коммитов

Автор SHA1 Сообщение Дата
Dale Harvey 9f91b3cb76 Bug 1360261 - Remove Preferences.jsm usage in GMPUtils. r=florian
MozReview-Commit-ID: WxerrrFZVi

--HG--
extra : rebase_source : e770c4fa612b05d397468008505281d51d598d56
2017-07-05 14:06:29 +01:00
Florian Quèze cd762cc83c Bug 1344711 - script-generated patch to remove try blocks around get*Pref calls, r=jaws.
--HG--
extra : rebase_source : c6e20e6e79b0ca5de751c52712d96cbea9432d26
2017-03-07 15:29:48 +01:00
Chris Pearce fffddbdfce Bug 1329543 - Remove 'adobe' from GMP download code. r=spohl
MozReview-Commit-ID: HXcl2xNDgEo

--HG--
extra : rebase_source : 934855aee2eefbb7e2a13c360456cac118342b5e
2017-01-14 16:37:59 +08:00
Jared Wein ecab54a7c9 Bug 1325464 - Enable object-shorthand rule and run 'mach eslint --fix' with the rule enabled. r=MattN
MozReview-Commit-ID: 7E7LPorrEje

--HG--
extra : rebase_source : 0572a35415a766a3f31d266760ecd07f0dcc3f72
2016-12-29 18:34:54 -05:00
Wes Kocher 0dfb7c2b5c Backed out 3 changesets (bug 1325464) for xpcshell failures a=backout
Backed out changeset 562ddc32cc21 (bug 1325464)
Backed out changeset cd10db6087dd (bug 1325464)
Backed out changeset 4079437c4648 (bug 1325464)
2016-12-29 14:05:44 -08:00
Jared Wein 7255df4e9a Bug 1325464 - Enable object-shorthand rule and run 'mach eslint --fix' with the rule enabled. r=MattN
MozReview-Commit-ID: 8WoGr8i6oCR

--HG--
extra : rebase_source : da7172285d43b820421557ed3b05887e091ff939
2016-12-29 15:20:47 -05:00
Dale Harvey b694c34086 Bug 1267495 - Fallback to local config for fresh GMP installs. r=mconley, r=rhelmer, feedback=ksteuber 2016-09-27 11:57:41 +01:00
Chris Pearce 243006e385 Bug 1291537 - Assume GMPs are unsupported when running in 32bit mode on MacOS. r=spohl
Users may have opted into running in 32bit mode if they have certain plugins,
or manually from Finder's Info dialog.

We end up downloading the 64bit GMP and installing it when running in 32bit mode,
and it will crash.

Since we're dropping 32bit MacOS Firefox in 52, there doesn't seem to be
much point doing work to make us install the 32bit GMP on 32bit mode on
MacOS, and pushing out new 32bit GMPs. So just mark them as unsupported.


MozReview-Commit-ID: KRZKPKZkmKB

--HG--
extra : rebase_source : 98cb35ec9469b136a744fe7a2423de6a7e143489
2016-08-03 15:19:00 +12:00
Jared Wein be454cdf36 Bug 1292008 - Enable the no-empty rule for eslint. r=markh
MozReview-Commit-ID: EfM3YOUjClW

--HG--
extra : rebase_source : 47cb04f0a58df6ae810cbf41f7a09e3bb0130997
2016-08-04 00:55:07 -04:00
Chris Pearce 9d4e51cf50 Bug 1288311 - Remove GMP install failed/unsupported telemetry reporting code. r=spohl
The telemetry result indicate that unexplained install failures are very rare,
so we don't need to bother keeping this probe.

We should still need to check whether the GMP files disappear from disk, as
telemetry indicates this does happen, though quite rarely.

MozReview-Commit-ID: K64tlRajACJ

--HG--
extra : rebase_source : 0778f4bdf85cbd448ca71694c65bd99806307386
2016-07-21 16:31:56 +12:00
Chris Pearce 888002acb9 Bug 1288580 - Mark Widevine as supported on Linux and remove Mac OSX version check. r=spohl
This means if Widevine is preffed visible on Linux it will show up in the
plugin list.

We only support Mac OSX 10.9 and later, so we don't need the >= 10.7 check any
more.

MozReview-Commit-ID: BjgMKeIIrrI

--HG--
extra : rebase_source : 46740a9d40f8ae700b6a47eb488a2435e48c1e99
2016-07-22 14:21:19 +12:00
Chris Pearce 93e60feb01 Bug 1288582 - Hide Adobe Primetime plugin on Windows < Vista. r=spohl
We're not going to get a supported Adobe GMP on WinXP, so we shouldn't download
it or show it in our add-on manager.


MozReview-Commit-ID: I3cNsStmzsV

--HG--
extra : rebase_source : b67c7cbec013f83bcf7d24cac99755faf1b5e07e
2016-07-22 14:30:22 +12:00
Chris Pearce ac07135594 Bug 1276132 - Rename media.gmp-*.forcevisible to media.gmp-*.visible, and set it when keysystems are enabled. r=spohl
Repurpose the media.gmp-*.forcevisible pref to control whether the
corresponding GMP is visible in the addons manager UI. The pref has to be true
for the GMP to be usable.

The pref is enabled and not hidden when the corresponding EME keysystem is
enabled in the mozconfig.

This means users can turn on EME without needing to recompile their build; they
just need to create a hidden pref. This will be useful for CDM developers, and
users on platforms where we've not enabled EME yet but users want to test it
(Linux).

We also need to change the GMPUtils.isPluginHidden() accessor so that plugins
are considered hidden if the "visible" pref is false OR we're on an unsupported
platform. This ensures that we must be on a supported OS and the visibility
pref is true before GMPs appear in the addon list.

A consequence of the isPluginHidden() change is that we also need to add a
"force-supported" pref to override the checks that refuse to load the GMPs on
various platform versions, so that the unit tests pass.

MozReview-Commit-ID: h6CwLDkvFW

--HG--
extra : rebase_source : d09b952cc12da6f46b404439781b62784e4f54b3
2016-05-31 10:59:44 +12:00
Phil Ringnalda 7270ed519a Back out 4 changesets (bug 1276132) for browser_gmpProvider.js failures
CLOSED TREE

Backed out changeset 511a2389ca48 (bug 1276132)
Backed out changeset 91b3cdd0640a (bug 1276132)
Backed out changeset 09b9972e36f9 (bug 1276132)
Backed out changeset 69052d4e3dbb (bug 1276132)
2016-06-08 20:36:22 -07:00
Chris Pearce 42f36f9788 Bug 1276132 - Rename media.gmp-*.forcevisible to media.gmp-*.visible, and set it when keysystems are enabled. r=spohl
Repurpose the media.gmp-*.forcevisible pref to control whether the
corresponding GMP is visible in the addons manager UI. The pref has to be true
for the GMP to be usable.

The pref is enabled and not hidden when the corresponding EME keysystem is
enabled in the mozconfig.

This means users can turn on EME without needing to recompile their build; they
just need to create a hidden pref. This will be useful for CDM developers, and
users on platforms where we've not enabled EME yet but users want to test it
(Linux).

We also need to change the GMPUtils.isPluginHidden() accessor so that plugins
are considered hidden if the "visible" pref is false OR we're on an unsupported
platform. This ensures that we must be on a supported OS and the visibility
pref is true before GMPs appear in the addon list.

A consequence of the isPluginHidden() change is that we also need to add a
"force-supported" pref to override the checks that refuse to load the GMPs on
various platform versions, so that the unit tests pass.

MozReview-Commit-ID: h6CwLDkvFW

--HG--
extra : rebase_source : 2c077e577352e356aceeda000d873bad1439f242
2016-05-31 10:59:44 +12:00
Chris Pearce 37daf2b55c Bug 1272521 - Hide Widevine CDM on MacOSX 10.6. r=spohl
The Widevine CDM crashes on MacOSX 10.6, so only download, expose, and install
it on 10.7 and later.

MozReview-Commit-ID: 51iJpQEB1m7

--HG--
extra : rebase_source : e24e8d8179f22f77c3e5fbfef8489aca7c4fecb9
2016-05-13 14:02:20 +12:00
Kirk Steuber 51efd5c627 Bug 1264483 - Hide Widevine on unsupported systems. r=spohl
MozReview-Commit-ID: Ew1jUrxff8R

--HG--
extra : amend_source : 19aed555760639966ab2da2fa88808a9123102f3
2016-04-13 16:41:48 -07:00
Kirk Steuber 6b6ea89530 Bug 1245256 - Add support for Widevine to CDM updater. r=spohl
MozReview-Commit-ID: JwB4Q6ZEqoV
2016-02-25 14:24:13 -08:00
Chris Pearce 8470084106 Bug 1234099 - Unhide Adobe GMP on Windows XP. r=spohl
MozReview-Commit-ID: FIdyL7l3eY6
2016-02-24 15:46:52 +13:00
Chris Pearce 5d3656a01c Bug 1234099 - Backout 34460cc654ca due to playback failures caused by Adobe GMP. r=backout 2016-01-07 09:57:36 +13:00
Chris Pearce 38b4594c7d Bug 1234099 - Unhide Adobe GMP on Windows XP. r=spohl 2015-12-21 16:06:41 +13:00
Wes Kocher c627bc38a1 Backed out changeset f3cb1eed6379 (bug 1234099) for browser_gmpProvider.js failures in bc1 CLOSED TREE 2015-12-21 13:37:06 -08:00
Chris Pearce 6bc4318a73 Bug 1234099 - Unhide Adobe GMP on Windows XP. r=spohl
--HG--
extra : rebase_source : 368ea98282668d270fee89a8321d076d2dcda127
2015-12-21 16:06:41 +13:00
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 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
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 142d30bad9 Bug 1169129 - reset media.{0}.trial-create on GMP install. r=spohl 2015-06-05 21:55:52 +12:00
Chris Pearce 1d7b493a55 Bug 1156566 - Don't add invalid GMPs to GMPService in GMPProvider. r=spohl 2015-05-15 11:50:40 +12:00
Carsten "Tomcat" Book cfa695b0e3 merge mozilla-inbound to mozilla-central a=merge 2015-03-23 13:18:35 +01:00
Stephen Pohl 148f6e4649 Backout 0e6aa605af74 (bug 1140263) now that Adobe EME is cleared to be turned on for Windows Vista and above. r=me 2015-03-22 23:26:26 -04:00
Stephen Pohl 17bef18e85 Bug 1145694: Uninstall Adobe EME when media.eme.enabled is set to false. r=mossop 2015-03-22 23:12:16 -04:00
Stephen Pohl b8c729938b Bug 1140263: Disable Adobe EME on all platforms for now. r=cpearce 2015-03-19 22:59:49 -04: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