[Pkg-mozext-commits] [tabmixplus] 26/34: Merging popup window on multi process browser throw 'Error: cross-process JS call failed'

David Prévot taffit at moszumanska.debian.org
Mon Jun 27 13:57:58 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 abfed88c65c645502367abac3c3ef4e2b26b7cc2
Author: onemen <tabmix.onemen at gmail.com>
Date:   Fri Jun 24 15:31:04 2016 +0300

    Merging popup window on multi process browser throw 'Error: cross-process JS call failed'
---
 modules/MergeWindows.jsm | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/modules/MergeWindows.jsm b/modules/MergeWindows.jsm
index 3ff6621..999364f 100644
--- a/modules/MergeWindows.jsm
+++ b/modules/MergeWindows.jsm
@@ -132,8 +132,7 @@ this.MergeWindows = {
     if (openerWindow) {
       // since we merge popup after all other tabs was merged,
       // we only look for opener in the target window
-      let openerTab = openerWindow &&
-          tabbrowser._getTabForContentWindow(openerWindow.top);
+      let openerTab = tabbrowser._getTabForContentWindow(openerWindow);
       if (openerTab)
         index = openerTab._tPos + 1;
     }

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