rem: var url = pref.getComplexValue("editor.spellcheckers.url", Components.interfaces.nsIPrefLocalizedString).data; 
add: var formatter = Components.classes["@mozilla.org/toolkit/URLFormatterService;1"] .getService(Components.interfaces.nsIURLFormatter); var url = formatter.formatURLPref("spellchecker.dictionaries.download.url"); 
context:     addDictionaries : function()    {      try {        var url = pref.getComplexValue("editor.spellcheckers.url",                                       Components.interfaces.nsIPrefLocalizedString).data;        window.openDialog(getBrowserURL(), "_blank", "chrome,all,dialog=no", url);      }      catch (ex) {}    }
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/fe4ca683d05006a6651a6473e55f437580ebce4c/nsContextMenu.js/clean/suite/common/nsContextMenu.js