[Pkg-mozext-commits] [requestpolicy] 231/257: [fix] shouldLoad: non-"navigator:browser" windows
David Prévot
taffit at moszumanska.debian.org
Thu Jan 28 03:20:16 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 aaf5494087cbcad8572ee7209b1780eca37cdfea
Author: Martin Kimmerle <dev at 256k.de>
Date: Mon Dec 21 08:00:13 2015 +0100
[fix] shouldLoad: non-"navigator:browser" windows
A chrome window is not necessarily a window of type
"navigator:browser"
---
src/content/lib/request-processor.jsm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/content/lib/request-processor.jsm b/src/content/lib/request-processor.jsm
index a6d062e..aa28992 100644
--- a/src/content/lib/request-processor.jsm
+++ b/src/content/lib/request-processor.jsm
@@ -178,7 +178,7 @@ var RequestProcessor = (function() {
let browser = request.getBrowser();
let window = request.getChromeWindow();
- if (!browser || !window) {
+ if (!browser || !window || typeof window.rpcontinued === "undefined") {
Logger.warning(Logger.TYPE_CONTENT, "The user could not be notified " +
"about the blocked top-level document request!");
} else {
--
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