rem: sanitize: function () { var psvc = Components.classes["@mozilla.org/preferences-service;1"] .getService(Components.interfaces.nsIPrefService); var branch = psvc.getBranch(this._prefDomain); for (var itemName in this.items) { var item = this.items[itemName]; if ("clear" in item && item.canClear && branch.getBoolPref(itemName)) item.clear(); } }, 
add: Sanitizer.sanitize = function(aParentWindow) { if (Sanitizer.prefs.getBoolPref(Sanitizer.prefPrompt)) { Sanitizer.showUI(aParentWindow); return null; } return new Sanitizer().sanitize(); }; 
context:   sanitize: function ()  {    var psvc = Components.classes["@mozilla.org/preferences-service;1"]                         .getService(Components.interfaces.nsIPrefService);    var branch = psvc.getBranch(this._prefDomain);    for (var itemName in this.items) {      var item = this.items[itemName];      if ("clear" in item && item.canClear && branch.getBoolPref(itemName))         item.clear();    }  },
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/e1400c9125f1ce96798a8c3ff2c3e918c4b7163a/sanitize.js/buggy/browser/base/content/sanitize.js