[Pkg-mozext-commits] [tabmixplus] 11/22: No need to search for content in pending tabs, prevents lazy browser prematurely inserted via 'messageManager' property access

David Prévot taffit at moszumanska.debian.org
Sat Aug 5 15:28:34 UTC 2017


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

taffit pushed a commit to tag 0.5.0.4pre.170625a1
in repository tabmixplus.

commit 785b4649af5771e64da2911850cb0b657ce838fc
Author: onemen <tabmix.onemen at gmail.com>
Date:   Sun Jun 18 08:26:22 2017 +0300

    No need to search for content in pending tabs, prevents lazy browser prematurely inserted via 'messageManager' property access
---
 modules/ContentClick.jsm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/ContentClick.jsm b/modules/ContentClick.jsm
index ebf81d4..41771d5 100644
--- a/modules/ContentClick.jsm
+++ b/modules/ContentClick.jsm
@@ -1064,7 +1064,7 @@ ContentClickInternal = {
           let window = this.windows.shift();
           tab = window.gBrowser.tabs[0];
         }
-        if (tab) {
+        if (tab && !tab.hasAttribute("pending")) {
           let browser = tab.linkedBrowser;
           if (browser.getAttribute("remote") == "true") {
             browser.messageManager

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