[Pkg-mozext-commits] [wot] 13/226: Removed dump() calls that output debugging information and turned off the weboftrust.create_button setting by default.
David Prévot
taffit at moszumanska.debian.org
Fri May 1 00:35:29 UTC 2015
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to branch master
in repository wot.
commit 6b45814183930d6dedb9c5e3dd40bd662840ce8c
Author: Sami Tolvanen <sami at mywot.com>
Date: Wed Feb 29 08:47:10 2012 +0200
Removed dump() calls that output debugging information and turned off the weboftrust.create_button setting by default.
---
content/api.js | 2 --
content/cache.js | 12 ------------
content/config.js | 4 ++--
content/core.js | 4 ----
4 files changed, 2 insertions(+), 20 deletions(-)
diff --git a/content/api.js b/content/api.js
index 641155b..eb4a25c 100644
--- a/content/api.js
+++ b/content/api.js
@@ -936,7 +936,6 @@ var wot_pending =
var pref = Date.now();
if (wot_prefs.setChar("pending." + pref, data)) {
- dump("wot_pending.store: " + pref + ": " + data + "\n");
return true;
}
@@ -961,7 +960,6 @@ var wot_pending =
return;
}
- dump("wot_pending.clear: " + pref + "\n");
wot_prefs.clear(base);
wot_prefs.clear(base + ".submit");
wot_prefs.clear(base + ".tries");
diff --git a/content/cache.js b/content/cache.js
index 6f2bf35..8eddd95 100644
--- a/content/cache.js
+++ b/content/cache.js
@@ -323,8 +323,6 @@ var wot_cache =
var child = target.firstChild;
var a, r, c, t, i, l, x;
- dump("wot_cache.add_target: caching " + name + "\n");
-
if (islink) {
if (this.get(name, "status") == WOT_QUERY_OK) {
dump("wot_cache.add_target: not overwriting on link for " +
@@ -355,34 +353,24 @@ var wot_cache =
if (a && a.nodeValue) {
if (r && r.nodeValue && c && c.nodeValue) {
- dump(name + ": " + a.nodeValue + ": (r, c) = (" +
- r.nodeValue + ", " + c.nodeValue + ")\n");
this.set(name, "reputation_" + a.nodeValue,
Number(r.nodeValue));
this.set(name, "confidence_" + a.nodeValue,
Number(c.nodeValue));
}
if (i && i.nodeValue) {
- dump(name + ": " + a.nodeValue + ": (i) = (" +
- i.nodeValue + ")\n");
this.set(name, "inherited_" + a.nodeValue,
Number(i.nodeValue));
}
if (l && l.nodeValue) {
- dump(name + ": " + a.nodeValue + ": (l) = (" +
- l.nodeValue + ")\n");
this.set(name, "lowered_" + a.nodeValue,
Number(l.nodeValue));
}
if (x && x.nodeValue) {
- dump(name + ": " + a.nodeValue + ": (e) = (" +
- x.nodeValue + ")\n");
this.set(name, "excluded_" + a.nodeValue,
Number(x.nodeValue));
}
if (t && t.nodeValue) {
- dump(name + ": " + a.nodeValue + ": (t) = (" +
- t.nodeValue + ")\n");
this.set(name, "testimony_" + a.nodeValue,
Number(t.nodeValue));
}
diff --git a/content/config.js b/content/config.js
index f53b107..bfc667d 100644
--- a/content/config.js
+++ b/content/config.js
@@ -19,7 +19,7 @@
*/
const WOT_PLATFORM = "firefox";
-const WOT_VERSION = "20120227";
+const WOT_VERSION = "20120229";
/*
* Constants
@@ -206,7 +206,7 @@ const WOT_UPDATE_PATH = "update/";
/* Preferences and defaults */
const wot_prefs_bool = [
[ "accessible", false ],
- [ "create_button", true ],
+ [ "create_button", false ],
[ "enabled", true ],
[ "install_search", false ],
[ "my_cookies", true ],
diff --git a/content/core.js b/content/core.js
index 2b5db4a..d4affef 100644
--- a/content/core.js
+++ b/content/core.js
@@ -269,8 +269,6 @@ var wot_core =
Components.interfaces.nsIUploadChannel);
if (upload) {
- dump("wot_core.showloading: blocking post to " +
- hostname + "\n");
stream = upload.uploadStream;
}
}
@@ -428,8 +426,6 @@ var wot_core =
var postdata = null;
if (this.blockedstreams[url]) {
- dump("wot_core.updateloading: reposting to " + hostname +
- "\n");
postdata = this.blockedstreams[url];
delete this.blockedstreams[url];
}
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mozext/wot.git
More information about the Pkg-mozext-commits
mailing list