rem: var type  = branch.getCharPref("type"); var uri   = branch.getComplexValue("uri", Ci.nsIPrefLocalizedString).data; var title = branch.getComplexValue("title", Ci.nsIPrefLocalizedString).data; this._registerContentHandler(type, uri, title); 
add: /** * Since we support up to six predefined readers, we need to handle gaps * better, since the first branch with user-added values will be .6 * * How we deal with that is to check to see if there's no prefs in the * branch and stop cycling once that's true.  This doesn't fix the case * where a user manually removes a reader, but that's not supported yet! */ var vals = branch.getChildList("", {}); if (vals.length == 0) return;  try { var type = branch.getCharPref("type"); var uri = branch.getComplexValue("uri", Ci.nsIPrefLocalizedString).data; var title = branch.getComplexValue("title", Ci.nsIPrefLocalizedString).data; this._registerContentHandler(type, uri, title); } catch(ex) {  } 
context:   _registerContentHandlerWithBranch: function(branch) {    var type  = branch.getCharPref("type");    var uri   = branch.getComplexValue("uri", Ci.nsIPrefLocalizedString).data;    var title = branch.getComplexValue("title", Ci.nsIPrefLocalizedString).data;    this._registerContentHandler(type, uri, title);  },
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/578718ac1f4ae5870c3cdd0a55cc8b6a7b18df98/WebContentConverter.js/buggy/browser/components/feeds/src/WebContentConverter.js