mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-10-22 07:07:30 +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
|
|
@ -128,8 +128,10 @@ this.CrashManager.prototype = Object.freeze({
|
|||
// A crash in a plugin process.
|
||||
PROCESS_TYPE_PLUGIN: "plugin",
|
||||
|
||||
#ifdef MOZ_GMP
|
||||
// A crash in a Gecko media plugin process.
|
||||
PROCESS_TYPE_GMPLUGIN: "gmplugin",
|
||||
#endif
|
||||
|
||||
// A crash in the GPU process.
|
||||
PROCESS_TYPE_GPU: "gpu",
|
||||
|
|
|
|||
|
|
@ -34,9 +34,11 @@ CrashService.prototype = Object.freeze({
|
|||
case Ci.nsICrashService.PROCESS_TYPE_PLUGIN:
|
||||
processType = Services.crashmanager.PROCESS_TYPE_PLUGIN;
|
||||
break;
|
||||
#ifdef MOZ_GMP
|
||||
case Ci.nsICrashService.PROCESS_TYPE_GMPLUGIN:
|
||||
processType = Services.crashmanager.PROCESS_TYPE_GMPLUGIN;
|
||||
break;
|
||||
#endif
|
||||
case Ci.nsICrashService.PROCESS_TYPE_GPU:
|
||||
processType = Services.crashmanager.PROCESS_TYPE_GPU;
|
||||
break;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue