Code: Select all
Timestamp: 9/30/17, 2:33:08 PM
Error: formatURLPref: Couldn't get pref: app.update.url.manual
Source File: file:///xxxxx/obj-x86_64-apple-darwin13.4.0/dist/NewMoon.app/Contents/Resources/components/nsURLFormatter.js
Line: 135
Code: Select all
formatURLPref: function uf_formatURLPref(aPref) {
var format = null;
var PS = Cc['@mozilla.org/preferences-service;1'].
getService(Ci.nsIPrefBranch);
try {
format = PS.getComplexValue(aPref, Ci.nsISupportsString).data;
} catch(ex) {
Cu.reportError("formatURLPref: Couldn't get pref: " + aPref);
return "about:blank";
}
if (!PS.prefHasUserValue(aPref) &&
/^(data:text\/plain,.+=.+|chrome:\/\/.+\/locale\/.+\.properties)$/.test(format)) {
// This looks as if it might be a localised preference
try {
format = PS.getComplexValue(aPref, Ci.nsIPrefLocalizedString).data;
} catch(ex) {}
}
return this.formatURL(format);
}
};