rem: displayError("defaultPref failed with error: " + e); 
add: displayError("defaultPref", e); 
context: function defaultPref(prefName, value) {        try {        var prefService = Components.classes[PrefServiceContractID]                                    .getService(nsIPrefService);                var prefBranch = prefService.getDefaultBranch(null);        if (typeof value == "string") {            prefBranch.setCharPref(prefName, value);        }        else if (typeof value == "number") {            prefBranch.setIntPref(prefName, value);        }        else if (typeof value == "boolean") {            prefBranch.setBoolPref(prefName, value);        }    }    catch(e) {        displayError("defaultPref failed with error: " + e);    }}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/6c48cb986e7b06a8b4d10b19c24885032d1623bc/prefcalls.js/buggy/extensions/pref/autoconfig/src/prefcalls.js