[Pkg-mozext-commits] [firegestures] 01/08: fix: 'Open in tab' doesn't work after Bug 1072980 was fixed

David Prévot taffit at moszumanska.debian.org
Tue Feb 17 15:32:48 UTC 2015


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

taffit pushed a commit to branch master
in repository firegestures.

commit 67e58b783b9b81ab8e1fef08986df22842994752
Author: Gomita <gomita at xuldev.org>
Date:   Thu Feb 12 01:45:55 2015 +0900

    fix: 'Open in tab' doesn't work after Bug 1072980 was fixed
---
 chrome/content/firegestures/browser.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/chrome/content/firegestures/browser.js b/chrome/content/firegestures/browser.js
index e2645ab..464aa29 100644
--- a/chrome/content/firegestures/browser.js
+++ b/chrome/content/firegestures/browser.js
@@ -705,7 +705,7 @@ var FireGestures = {
 		if (this.isRemote) {
 			let principal = Cc["@mozilla.org/scriptsecuritymanager;1"].
 			                getService(Ci.nsIScriptSecurityManager).
-			                getAppCodebasePrincipal(aDoc.nodePrincipal.URI,
+			                getAppCodebasePrincipal(gBrowser.currentURI,
 			                                        aDoc.nodePrincipal.appId,
 			                                        aDoc.nodePrincipal.isInBrowserElement);
 			urlSecurityCheck(aURL, principal, aFlags);

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mozext/firegestures.git



More information about the Pkg-mozext-commits mailing list