[Project_owners] nsIXMLHttpRequest woes
ajvincent at gmail.com
Thu May 18 14:54:00 EDT 2006
> var req = Components.classes["@mozilla.org/xmlextras/xmlhttprequest;1"]
> req.open("GET", "chrome://foxyproxy/content/strings.xul", false);
XMLHttpRequest doesn't work for chrome URL's (HTTP and chrome are
different protocols entirely). Personally, I recommend you look into
DOMParser and the ChromeFile interface I wrote for jslib.
"The first step in confirming there is a bug in someone else's work is
confirming there are no bugs in your own."
-- Alexander J. Vincent, June 30, 2001
More information about the Project_owners