[Pkg-mozext-commits] [adblock-plus] 445/464: issue #290 - override ignoreSameDoc parameter to false for Seamonkey in addBrowserLocationListener because of a bug (#1035171) in Seamonkey
David Prévot
taffit at moszumanska.debian.org
Tue Jul 22 20:44:43 UTC 2014
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to branch master
in repository adblock-plus.
commit 6e2a66dc2a1eac30908c3192afca463f7b29e30f
Author: Manvel Saroyan <manvel at adblockplus.org>
Date: Tue Jul 8 16:19:28 2014 +0400
issue #290 - override ignoreSameDoc parameter to false for Seamonkey in addBrowserLocationListener because of a bug (#1035171) in Seamonkey
---
lib/appSupport.js | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/lib/appSupport.js b/lib/appSupport.js
index 67c6248..cbc17ae 100644
--- a/lib/appSupport.js
+++ b/lib/appSupport.js
@@ -359,6 +359,14 @@ switch (application)
return (browser ? browser.currentURI : null);
}
};
+
+ // for Seamonkey we have to ignore same document flag because of
+ // bug #1035171 (https://bugzilla.mozilla.org/show_bug.cgi?id=1035171)
+ let origAddBrowserLocationListener = exports.addBrowserLocationListener;
+ exports.addBrowserLocationListener = function sm_addBrowserLocationListener(window, callback, ignoreSameDoc)
+ {
+ origAddBrowserLocationListener(window, callback, false);
+ };
exports.contentContextMenu = ["contentAreaContextMenu", "mailContext"];
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mozext/adblock-plus.git
More information about the Pkg-mozext-commits
mailing list