mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-09 03:15:11 +00:00
Bug 1070036 - Catch NS_ERROR_NOT_AVAILABLE during OpenH264Provider startup. r=irving
This commit is contained in:
parent
82ae4752e3
commit
c56aa93bed
@ -268,7 +268,11 @@ let OpenH264Provider = {
|
||||
|
||||
if (this.gmpPath && enabled) {
|
||||
this._log.info("startup() - adding gmp directory " + this.gmpPath);
|
||||
gmpService.addPluginDirectory(this.gmpPath);
|
||||
try {
|
||||
gmpService.addPluginDirectory(this.gmpPath);
|
||||
} catch (e if e.name == 'NS_ERROR_NOT_AVAILABLE') {
|
||||
this._log.warning("startup() - adding gmp directory failed with " + e.name + " - sandboxing not available?");
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user