www

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | Submodules | README | LICENSE

commit 79f520405072f1161396f9c78bd8a8db925377c0
parent 9914eee1f1fb665722f28fa53afa64953318a05d
Author: Simon Kornblith <simon@simonster.com>
Date:   Tue, 29 Jun 2010 05:27:32 +0000

remove some debug code from the last patch


Diffstat:
Mchrome/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 @@ -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]; }