rem: shell.setDefaultBrowser(true, false); 
add: shellSvc.setDefaultBrowser(true, false); 
context: function checkNow(){  var shell = getShellService();  var brandBundle = document.getElementById("bundle_brand");  var shellBundle = document.getElementById("bundle_shell");  var brandShortName = brandBundle.getString("brandShortName");  var promptTitle = shellBundle.getString("setDefaultBrowserTitle");  var promptMessage;  const IPS = Components.interfaces.nsIPromptService;  var psvc = Components.classes["@mozilla.org/embedcomp/prompt-service;1"]                       .getService(IPS);  if (!shell.isDefaultBrowser(false)) {    promptMessage = shellBundle.getFormattedString("setDefaultBrowserMessage",                                                    [brandShortName]);    var rv = psvc.confirmEx(window, promptTitle, promptMessage,                             (IPS.BUTTON_TITLE_YES * IPS.BUTTON_POS_0) +                             (IPS.BUTTON_TITLE_NO * IPS.BUTTON_POS_1),                            null, null, null, null, { });    if (rv == 0)      shell.setDefaultBrowser(true, false);  }  else {    promptMessage = shellBundle.getFormattedString("alreadyDefaultBrowser",                                                   [brandShortName]);    psvc.alert(window, promptTitle, promptMessage);  }}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/04ec2e5a6be894af2216b7117fd7e0ed61800d4b/pref-navigator.js/clean/browser/components/prefwindow/content/pref-navigator.js