rem: updateClearNowButtonLabel: function() { var prefBranch = Components.classes["@mozilla.org/preferences-service;1"] .getService(Components.interfaces.nsIPrefBranch); var clearNowButton = document.getElementById("clearDataNow"); if (prefBranch.getBoolPref("privacy.sanitize.promptOnSanitize")) clearNowButton.label = clearNowButton.getAttribute("label1"); else clearNowButton.label = clearNowButton.getAttribute("label2"); }, 
add: updateClearNowButtonLabel: function () { var prefBranch = Components.classes["@mozilla.org/preferences-service;1"] .getService(Components.interfaces.nsIPrefBranch); var clearNowButton = document.getElementById("clearDataNow"); if (prefBranch.getBoolPref("privacy.sanitize.promptOnSanitize")) clearNowButton.label = clearNowButton.getAttribute("label1"); else clearNowButton.label = clearNowButton.getAttribute("label2"); }, 
context:    updateClearNowButtonLabel: function()   {     var prefBranch = Components.classes["@mozilla.org/preferences-service;1"]                                .getService(Components.interfaces.nsIPrefBranch);     var clearNowButton = document.getElementById("clearDataNow");     if (prefBranch.getBoolPref("privacy.sanitize.promptOnSanitize"))       clearNowButton.label = clearNowButton.getAttribute("label1"); // "Clear Now..."     else       clearNowButton.label = clearNowButton.getAttribute("label2"); // "Clear Now"   },
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/2b188b9c77aa0351b88fab4582bd65c20b0af12d/privacy.js/buggy/browser/components/preferences/privacy.js