remove some debug code from the last patch
This commit is contained in:
parent
9914eee1f1
commit
79f5204050
1 changed files with 2 additions and 7 deletions
|
@ -103,7 +103,6 @@ Zotero.Proxies = new function() {
|
|||
// otherwise, try to detect a proxy
|
||||
var proxy = false;
|
||||
for each(var detector in Zotero.Proxies.Detectors) {
|
||||
Zotero.debug("looking for proxy");
|
||||
try {
|
||||
proxy = detector(channel);
|
||||
} catch(e) {
|
||||
|
@ -129,9 +128,7 @@ Zotero.Proxies = new function() {
|
|||
try {
|
||||
webNav = channel.notificationCallbacks.QueryInterface(Components.interfaces.nsIWebNavigation);
|
||||
docShell = channel.notificationCallbacks.QueryInterface(Components.interfaces.nsIDocShell);
|
||||
} catch(e) {
|
||||
Zotero.debug(e);
|
||||
}
|
||||
} catch(e) {}
|
||||
|
||||
if(!docShell.allowMetaRedirects) return;
|
||||
|
||||
|
@ -371,9 +368,7 @@ Zotero.Proxies = new function() {
|
|||
browser = window.gBrowser.getBrowserForDocument(pageDOMDocument);
|
||||
if(browser) break;
|
||||
}
|
||||
} catch(e) {
|
||||
Zotero.debug(e);
|
||||
}
|
||||
} catch(e) {}
|
||||
return [browser, window];
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue