mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-24 01:17:34 +09:00
Issue #2301 - Make Gecko Media Plugins optional when not building EME or WebRTC
Co-authored-by: Moonchild <moonchild@palemoon.org>
This commit is contained in:
parent
57020c1f59
commit
9e7d1492e6
54 changed files with 314 additions and 30 deletions
|
|
@ -84,6 +84,7 @@ 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"].
|
||||
|
|
@ -92,6 +93,7 @@ this.ForgetAboutSite = {
|
|||
}).catch(ex => {
|
||||
throw new Error("Exception thrown while clearing Encrypted Media Extensions: " + ex);
|
||||
}));
|
||||
#endif
|
||||
|
||||
// Plugin data
|
||||
const phInterface = Ci.nsIPluginHost;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue