[Pkg-mozext-commits] [tabmixplus] 09/23: Remove workarounds for bug 817947, it was fixed for Firefox 22
David Prévot
taffit at moszumanska.debian.org
Wed Feb 17 18:34:00 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 48a82f5d9929e35913ca61f247a49a24ae4e1fa0
Author: onemen <tabmix.onemen at gmail.com>
Date: Sat Feb 13 19:38:15 2016 +0200
Remove workarounds for bug 817947, it was fixed for Firefox 22
---
chrome/content/minit/tablib.js | 11 +----------
1 file changed, 1 insertion(+), 10 deletions(-)
diff --git a/chrome/content/minit/tablib.js b/chrome/content/minit/tablib.js
index a01e2b7..aba8ccd 100644
--- a/chrome/content/minit/tablib.js
+++ b/chrome/content/minit/tablib.js
@@ -1696,18 +1696,9 @@ var tablib = { // eslint-disable-line
let copy = aOtherTab._tabmixCopyToWindow;
delete aOtherTab._tabmixCopyToWindow;
- let pendingTab = !copy && aOtherTab.hasAttribute("pending");
- if (typeof copy == "object" || pendingTab) {
+ if (typeof copy == "object") {
let tabData = copy ? copy.data : null;
TabmixSvc.ss.setTabState(aOurTab, tabData || TabmixSvc.ss.getTabState(aOtherTab));
- // Workarounds for bug 817947
- // Move a background unloaded tab to New Window fails
- if (pendingTab) {
- let remoteBrowser = aOtherTab.ownerDocument.defaultView.gBrowser;
- if (!remoteBrowser._beginRemoveTab(aOtherTab, true, true))
- return;
- remoteBrowser._endRemoveTab(aOtherTab);
- }
return;
}
--
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