mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
283601 - cache button remains enabled after clicking. (make it reenable after 10 seconds). also, remove some spurious dumps
This commit is contained in:
parent
fb1540f511
commit
1912f3b972
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user