[Pkg-mozext-commits] [requestpolicy] 125/257: [fix] R21n: the "allow" button on a empty tab
David Prévot
taffit at moszumanska.debian.org
Thu Jan 28 03:20:04 UTC 2016
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to branch master
in repository requestpolicy.
commit a168f7049741462f87d12de22d95c75d432a2297
Author: Martin Kimmerle <dev at 256k.de>
Date: Thu Oct 29 23:40:04 2015 +0100
[fix] R21n: the "allow" button on a empty tab
Fix #620.
In e10s mode, `browser.documentURI` is `null` when
"redirect-http-location-header.php" is loaded in an empty tab.
However, `redirectOriginUri` already contains the needed URI.
---
src/content/ui/overlay.js | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/content/ui/overlay.js b/src/content/ui/overlay.js
index f2cc57b..de6d2e0 100644
--- a/src/content/ui/overlay.js
+++ b/src/content/ui/overlay.js
@@ -539,8 +539,8 @@ rpcontinued.overlay = (function() {
// this is not necessary at all.
// [1] https://en.wikipedia.org/wiki/List_of_HTTP_header_fields#Response_fields
- RequestProcessor.registerAllowedRedirect(
- browser.documentURI.specIgnoringRef, redirectTargetUri);
+ RequestProcessor.registerAllowedRedirect(redirectOriginUri,
+ redirectTargetUri);
browser.messageManager.sendAsyncMessage(C.MM_PREFIX + "setLocation",
{uri: redirectTargetUri});
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mozext/requestpolicy.git
More information about the Pkg-mozext-commits
mailing list