[Pkg-mozext-commits] [tabmixplus] 62/123: Fix changeset - bug 935377 - Firefox should fix common scheme typos - LOAD_FLAGS_FIXUP_SCHEME_TYPOS exist from Firefox 29

David Prévot taffit at moszumanska.debian.org
Wed Sep 17 21:16:27 UTC 2014


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

taffit pushed a commit to branch master
in repository tabmixplus.

commit 639b9ad16bff2d5eda5fe5cf230d99d2a7230d4c
Author: onemen <tabmix.onemen at gmail.com>
Date:   Mon Sep 1 10:45:01 2014 +0300

    Fix changeset - bug 935377 - Firefox should fix common scheme typos - LOAD_FLAGS_FIXUP_SCHEME_TYPOS exist from Firefox 29
---
 chrome/content/minit/minit.js | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/chrome/content/minit/minit.js b/chrome/content/minit/minit.js
index a733e77..e11435c 100644
--- a/chrome/content/minit/minit.js
+++ b/chrome/content/minit/minit.js
@@ -385,8 +385,9 @@ var TMP_tabDNDObserver = {
           // allow to load in locked tab
           browser.tabmix_allowLoad = true;
           let webNav = Ci.nsIWebNavigation;
-          let flags = webNav.LOAD_FLAGS_ALLOW_THIRD_PARTY_FIXUP |
-                      webNav.LOAD_FLAGS_FIXUP_SCHEME_TYPOS;
+          let flags = webNav.LOAD_FLAGS_ALLOW_THIRD_PARTY_FIXUP;
+          if (Tabmix.isVersion(290))
+            flags |= webNav.LOAD_FLAGS_FIXUP_SCHEME_TYPOS;
           browser.loadURIWithFlags(url, flags);
           if (!bgLoad)
             gBrowser.tabContainer.selectedItem = tab;

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