rem: var promptService = Components.classes["@mozilla.org/embedcomp/prompt-service;1"] .getService(Components.interfaces.nsIPromptService); if (promptService) {  title = "AutoConfig Alert"; err = "Netscape.cfg/AutoConfig failed. Please Contact your system administrator \n Error Message: " + message; promptService.alert(null, title, err); } 
add: try { var promptService = Components.classes["@mozilla.org/embedcomp/prompt-service;1"] .getService(Components.interfaces.nsIPromptService); var bundle = Components.classes["@mozilla.org/intl/stringbundle;1"] .getService(Components.interfaces.nsIStringBundleService) .createBundle("chrome:  var title = bundle.GetStringFromName("autoConfigTitle"); var msg = bundle.formatStringFromName("autoConfigMsg", [funcname], 1); promptService.alert(null, title, msg + " " + message); } catch(e) { } 
context: function displayError(message) {    var promptService = Components.classes["@mozilla.org/embedcomp/prompt-service;1"]                                  .getService(Components.interfaces.nsIPromptService);    if (promptService) {                title = "AutoConfig Alert";        err = "Netscape.cfg/AutoConfig failed. Please Contact your system administrator \n Error Message: " + message;        promptService.alert(null, title, err);    } }
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/6c48cb986e7b06a8b4d10b19c24885032d1623bc/prefcalls.js/buggy/extensions/pref/autoconfig/src/prefcalls.js