|
|
73cc96 |
diff -up firefox-81.0/toolkit/modules/GMPInstallManager.jsm.old firefox-81.0/toolkit/modules/GMPInstallManager.jsm
|
|
|
73cc96 |
--- firefox-81.0/toolkit/modules/GMPInstallManager.jsm.old 2020-09-25 10:39:04.769458703 +0200
|
|
|
73cc96 |
+++ firefox-81.0/toolkit/modules/GMPInstallManager.jsm 2020-09-25 10:39:22.038504747 +0200
|
|
|
73cc96 |
@@ -54,10 +54,6 @@ function getScopedLogger(prefix) {
|
|
|
73cc96 |
|
|
|
73cc96 |
const LOCAL_GMP_SOURCES = [
|
|
|
73cc96 |
{
|
|
|
73cc96 |
- id: "gmp-gmpopenh264",
|
|
|
73cc96 |
- src: "chrome://global/content/gmp-sources/openh264.json",
|
|
|
73cc96 |
- },
|
|
|
73cc96 |
- {
|
|
|
73cc96 |
id: "gmp-widevinecdm",
|
|
|
73cc96 |
src: "chrome://global/content/gmp-sources/widevinecdm.json",
|
|
|
73cc96 |
},
|
|
|
73cc96 |
diff --git a/toolkit/content/jar.mn b/toolkit/content/jar.mn
|
|
|
73cc96 |
--- a/toolkit/content/jar.mn
|
|
|
73cc96 |
+++ b/toolkit/content/jar.mn
|
|
|
73cc96 |
@@ -108,7 +108,6 @@ toolkit.jar:
|
|
|
73cc96 |
#ifdef XP_MACOSX
|
|
|
73cc96 |
content/global/macWindowMenu.js
|
|
|
73cc96 |
#endif
|
|
|
73cc96 |
- content/global/gmp-sources/openh264.json (gmp-sources/openh264.json)
|
|
|
73cc96 |
content/global/gmp-sources/widevinecdm.json (gmp-sources/widevinecdm.json)
|
|
|
73cc96 |
|
|
|
73cc96 |
# Third party files
|
|
|
73cc96 |
diff --git a/toolkit/modules/GMPInstallManager.jsm b/toolkit/modules/GMPInstallManager.jsm
|
|
|
73cc96 |
--- a/toolkit/modules/GMPInstallManager.jsm
|
|
|
73cc96 |
+++ b/toolkit/modules/GMPInstallManager.jsm
|
|
|
73cc96 |
@@ -238,6 +234,9 @@ GMPInstallManager.prototype = {
|
|
|
73cc96 |
* downloaderr, verifyerr or previouserrorencountered
|
|
|
73cc96 |
*/
|
|
|
73cc96 |
installAddon(gmpAddon) {
|
|
|
73cc96 |
+ if (gmpAddon.isOpenH264) {
|
|
|
73cc96 |
+ return Promise.reject({ type: "disabled" });
|
|
|
73cc96 |
+ }
|
|
|
73cc96 |
if (this._deferred) {
|
|
|
73cc96 |
let log = getScopedLogger("GMPInstallManager.installAddon");
|
|
|
73cc96 |
log.error("previous error encountered");
|
|
|
73cc96 |
|