[Pkg-mozext-commits] [tabmixplus] 01/13: Component returned failure code NS_NOINTERFACE [nsIInterfaceRequestor.getInterface]
David Prévot
taffit at moszumanska.debian.org
Sat Aug 5 15:28:27 UTC 2017
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to tag 0.5.0.4pre.170525a1
in repository tabmixplus.
commit 5bf44fcba0e56a7c743016d82f0023ebb5140a47
Author: onemen <tabmix.onemen at gmail.com>
Date: Sat Apr 29 11:01:51 2017 +0300
Component returned failure code NS_NOINTERFACE [nsIInterfaceRequestor.getInterface]
---
chrome/content/overlay/removeBlankTab.js | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/chrome/content/overlay/removeBlankTab.js b/chrome/content/overlay/removeBlankTab.js
index 9247d41..6c9f8a2 100644
--- a/chrome/content/overlay/removeBlankTab.js
+++ b/chrome/content/overlay/removeBlankTab.js
@@ -66,10 +66,10 @@ var TabmixRemoveBlankTab = {
getWindowAndBrowser(aContext) {
let result = {win: null, b: null};
if (aContext) {
- let nav = aContext.QueryInterface(Ci.nsIInterfaceRequestor)
- .getInterface(Ci.nsIWebNavigation);
- let doc;
+ let nav, doc;
try {
+ nav = aContext.QueryInterface(Ci.nsIInterfaceRequestor)
+ .getInterface(Ci.nsIWebNavigation);
doc = nav.document;
} catch (ex) {
return result;
--
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