[or-cvs] [torbutton/maint-1.2] Fix popup regression introduced in fix for bug 1093.
mikeperry at seul.org
mikeperry at seul.org
Wed Dec 2 20:16:18 UTC 2009
Author: Mike Perry <mikeperry-git at fscked.org>
Date: Tue, 1 Dec 2009 21:14:37 -0800
Subject: Fix popup regression introduced in fix for bug 1093.
Commit: 0dc8ad4a8d8083186fc1f39cc4f3ee418fe7dc88
---
src/chrome/content/torbutton.js | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diff --git a/src/chrome/content/torbutton.js b/src/chrome/content/torbutton.js
index 6e1b5c2..ec9ad88 100644
--- a/src/chrome/content/torbutton.js
+++ b/src/chrome/content/torbutton.js
@@ -3612,7 +3612,11 @@ var torbutton_weblistener =
onLocationChange: function(aProgress, aRequest, aURI)
{
torbutton_eclog(2, 'onLocationChange: '+aURI.asciiSpec);
- return torbutton_check_progress(aProgress, aRequest, 0, true);
+ if(aURI.spec != "about:blank") {
+ return torbutton_check_progress(aProgress, aRequest, 0, true);
+ } else {
+ torbutton_ecloc(3, "Skipping location change for about:blank");
+ }
},
onProgressChange: function(aProgress, aRequest, curSelfProgress, maxSelfProgress, curTotalProgress, maxTotalProgress)
--
1.5.6.5
More information about the tor-commits
mailing list