[Pkg-mozext-commits] [tabmixplus] 10/15: Browser.contentWindow is undefined in Firefox 31.5 ESR

David Prévot taffit at moszumanska.debian.org
Wed Mar 18 19:05:19 UTC 2015


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

taffit pushed a commit to branch master
in repository tabmixplus.

commit 42c8b3250f7a1bf1d99dced29abb8adae60529cb
Author: onemen <tabmix.onemen at gmail.com>
Date:   Fri Mar 13 11:42:22 2015 +0200

    Browser.contentWindow is undefined in Firefox 31.5 ESR
---
 chrome/content/tab/tab.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/chrome/content/tab/tab.js b/chrome/content/tab/tab.js
index a746b0b..0ed99b4 100644
--- a/chrome/content/tab/tab.js
+++ b/chrome/content/tab/tab.js
@@ -2606,7 +2606,7 @@ var TabmixProgressListener = {
         if (tab.getAttribute("locked")) {
           if (Tabmix.isVersion(320))
             aBrowser.messageManager.sendAsyncMessage("Tabmix:resetContentName");
-          else if (aBrowser.contentWindow.name)
+          else if (aBrowser.contentWindow && aBrowser.contentWindow.name)
             aBrowser.contentWindow.name = "";
         }
       }

-- 
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