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