283601 - cache button remains enabled after clicking. (make it reenable after 10 seconds). also, remove some spurious dumps

This commit is contained in:
ben@bengoodger.com 2007-10-02 20:35:19 -07:00
parent fb1540f511
commit 1912f3b972

View File

@ -50,13 +50,11 @@ Sanitizer.prototype = {
_prefDomain: "privacy.item.",
getNameFromPreference: function (aPreferenceName)
{
dump("*** " + aPreferenceName + ", i = " + this._prefDomain.length + ", sub = " + aPreferenceName.substr(this._prefDomain.length, -1) + "\n");
return aPreferenceName.substr(this._prefDomain.length);
},
sanitize: function ()
{
dump("*** sanitizing!\n");
var psvc = Components.classes["@mozilla.org/preferences-service;1"]
.getService(Components.interfaces.nsIPrefService);
var branch = psvc.getBranch(this._prefDomain);