[Project_owners] another i18n question

Eric H. Jung eric.jung at yahoo.com
Mon May 8 13:25:15 EDT 2006


Hi,

Given the following code:

var wm = Components.classes["@mozilla.org/appshell/window-mediator;1"]
  .getService(Components.interfaces.nsIWindowMediator);
var winEnum = wm.getEnumerator("navigator:browser");

can I assume that "navigator:browser" does not need to be localized?
And what about "parsererror" in this code:

var req = new XMLHttpRequest();
req.open("GET", "http://www.yahoo.com", false); 
req.send(null);
var dom = req.responseXML;
if (dom.documentElement.nodeName == "parsererror") {}

Thanks,
Eric




More information about the Project_owners mailing list