summaryrefslogtreecommitdiff
path: root/toolkit/forgetaboutsite/ForgetAboutSite.jsm
diff options
context:
space:
mode:
authorMoonchild <moonchild@palemoon.org>2023-10-17 12:56:22 +0200
committerMoonchild <moonchild@palemoon.org>2023-10-17 16:37:41 +0200
commit08406731e57a357418190043eaa83e5d27c11dd0 (patch)
treefd34b63b0ae134e7fcef0dac433edff861740f0c /toolkit/forgetaboutsite/ForgetAboutSite.jsm
parent60b4d804bd8f29582df32db7e862e1e91b221e69 (diff)
downloaduxp-08406731e57a357418190043eaa83e5d27c11dd0.tar.gz
Issue #2346 - Remove MOZ_EME conditional code
Diffstat (limited to 'toolkit/forgetaboutsite/ForgetAboutSite.jsm')
-rw-r--r--toolkit/forgetaboutsite/ForgetAboutSite.jsm11
1 files changed, 0 insertions, 11 deletions
diff --git a/toolkit/forgetaboutsite/ForgetAboutSite.jsm b/toolkit/forgetaboutsite/ForgetAboutSite.jsm
index af3572bb24..f2f4cd58e1 100644
--- a/toolkit/forgetaboutsite/ForgetAboutSite.jsm
+++ b/toolkit/forgetaboutsite/ForgetAboutSite.jsm
@@ -84,17 +84,6 @@ this.ForgetAboutSite = {
throw new Error("Exception thrown while clearning cookies: " + ex);
}));
-#ifdef MOZ_EME
- // EME
- promises.push(Task.spawn(function*() {
- let mps = Cc["@mozilla.org/gecko-media-plugin-service;1"].
- getService(Ci.mozIGeckoMediaPluginChromeService);
- mps.forgetThisSite(aDomain, JSON.stringify({}));
- }).catch(ex => {
- throw new Error("Exception thrown while clearing Encrypted Media Extensions: " + ex);
- }));
-#endif
-
// Plugin data
const phInterface = Ci.nsIPluginHost;
const FLAG_CLEAR_ALL = phInterface.FLAG_CLEAR_ALL;