From 79f520405072f1161396f9c78bd8a8db925377c0 Mon Sep 17 00:00:00 2001 From: Simon Kornblith Date: Tue, 29 Jun 2010 05:27:32 +0000 Subject: [PATCH] remove some debug code from the last patch --- chrome/content/zotero/xpcom/proxy.js | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/chrome/content/zotero/xpcom/proxy.js b/chrome/content/zotero/xpcom/proxy.js index 9ad6c5352f..29f85dc82c 100644 --- a/chrome/content/zotero/xpcom/proxy.js +++ b/chrome/content/zotero/xpcom/proxy.js @@ -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]; }