[Pkg-mozext-commits] [tabmixplus] 14/56: Services.appinfo.ID fails on Firefox 32, Component returned failure code: 0x80040111 (NS_ERROR_NOT_AVAILABLE) [nsIXULAppInfo.ID]

David Prévot taffit at moszumanska.debian.org
Mon Jun 6 00:02:33 UTC 2016


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch master
in repository tabmixplus.

commit 447ddf766b00fee10e5d7e524de34b0ad7813ddf
Author: onemen <tabmix.onemen at gmail.com>
Date:   Sat Apr 30 19:36:54 2016 +0300

    Services.appinfo.ID fails on Firefox 32, Component returned failure code: 0x80040111 (NS_ERROR_NOT_AVAILABLE) [nsIXULAppInfo.ID]
---
 modules/Services.jsm | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/modules/Services.jsm b/modules/Services.jsm
index 9c772a0..55ce838 100644
--- a/modules/Services.jsm
+++ b/modules/Services.jsm
@@ -304,8 +304,12 @@ XPCOMUtils.defineLazyGetter(TabmixSvc, "isPaleMoon", function() {
 });
 
 XPCOMUtils.defineLazyGetter(TabmixSvc, "isPaleMoonID", function() {
-  // noinspection SpellCheckingInspection
-  return Services.appinfo.ID == "{8de7fcbb-c55c-4fbe-bfc5-fc555c87dbc4}";
+  try {
+    // noinspection SpellCheckingInspection
+    return Services.appinfo.ID == "{8de7fcbb-c55c-4fbe-bfc5-fc555c87dbc4}";
+  } catch (ex) {
+  }
+  return false;
 });
 
 XPCOMUtils.defineLazyModuleGetter(TabmixSvc, "FileUtils",

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mozext/tabmixplus.git



More information about the Pkg-mozext-commits mailing list