[or-cvs] [https-everywhere/master 1/7] Remove NoScript's unused log function.
pde at torproject.org
pde at torproject.org
Thu Nov 11 00:28:02 UTC 2010
Author: Peter Eckersley <pde at eff.org>
Date: Mon, 8 Nov 2010 22:59:51 -0800
Subject: Remove NoScript's unused log function.
Commit: 95330389e6559f9ca1d38d17f7f269228e7eabf0
---
src/chrome/content/code/HTTPS.js | 8 --------
1 files changed, 0 insertions(+), 8 deletions(-)
diff --git a/src/chrome/content/code/HTTPS.js b/src/chrome/content/code/HTTPS.js
index 19e2ea3..091105a 100644
--- a/src/chrome/content/code/HTTPS.js
+++ b/src/chrome/content/code/HTTPS.js
@@ -133,14 +133,6 @@ const HTTPS = {
return false;
},
- log: function(msg) {
- this.log = ns.getPref("https.showInConsole", true)
- ? function(msg) { ns.log("[NoScript HTTPS] " + msg); }
- : function(msg) {}
-
- return this.log(msg);
- },
-
onCrossSiteRequest: function(channel, origin, browser, rw) {
try {
this.handleCrossSiteCookies(channel, origin, browser);
--
1.7.1
More information about the tor-commits
mailing list