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