[Pkg-mozext-commits] [tabmixplus] 29/107: Dragging tabs between windows broken in 0.4.1.9, it only open blank tab on the target window. TypeError: gBrowser.updateBrowserRemotenessByURL is not a function (Palemoon 25-26, Firefox before 33), changeset 849c5f93b65e
David Prévot
taffit at moszumanska.debian.org
Tue Dec 29 19:02:47 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 73589cf37ac7a1d4810858ea1cfbe0989a698224
Author: onemen <tabmix.onemen at gmail.com>
Date: Sat Oct 24 16:09:04 2015 +0300
Dragging tabs between windows broken in 0.4.1.9, it only open blank tab on the target window. TypeError: gBrowser.updateBrowserRemotenessByURL is not a function (Palemoon 25-26, Firefox before 33), changeset 849c5f93b65e
---
chrome/content/minit/minit.js | 18 ++++++++++--------
1 file changed, 10 insertions(+), 8 deletions(-)
diff --git a/chrome/content/minit/minit.js b/chrome/content/minit/minit.js
index 03aa377..20afca4 100644
--- a/chrome/content/minit/minit.js
+++ b/chrome/content/minit/minit.js
@@ -382,14 +382,16 @@ var TMP_tabDNDObserver = {
// windows)
let newTab = gBrowser.addTab("about:blank");
var newBrowser = gBrowser.getBrowserForTab(newTab);
- let draggedBrowserURL = draggedTab.linkedBrowser.currentURI.spec;
-
- // If we're an e10s browser window, an exception will be thrown
- // if we attempt to drag a non-remote browser in, so we need to
- // ensure that the remoteness of the newly created browser is
- // appropriate for the URL of the tab being dragged in.
- gBrowser.updateBrowserRemotenessByURL(newBrowser,
- draggedBrowserURL);
+ if (Tabmix.isVersion(330)) {
+ let draggedBrowserURL = draggedTab.linkedBrowser.currentURI.spec;
+
+ // If we're an e10s browser window, an exception will be thrown
+ // if we attempt to drag a non-remote browser in, so we need to
+ // ensure that the remoteness of the newly created browser is
+ // appropriate for the URL of the tab being dragged in.
+ gBrowser.updateBrowserRemotenessByURL(newBrowser,
+ draggedBrowserURL);
+ }
// Stop the about:blank load
newBrowser.stop();
--
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