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