title: Shouldn't the error event of xmlhttprequest have an error message?
body: <p>I'm working on making an AJAX request from a Firefox extension. I have this code:</p>
  
  <pre><code>function GetMenu(){
     var oReq = Components.classes["@mozilla.org/xmlextras/xmlhttprequest;1"].createInstance();
  
     // Setup event handlers - must be set before calling open()
     oReq.addEventListener("progress", updateProgress, false);
     oReq.addEventListener("load", transferComplete, false);
     oReq.addEventListener("error", transferFailed, false);
     oReq.addEventListener("abort", transferCanceled, false);
  
     oReq.open('POST', "http://www.foo.bar/", true);
     oReq.send('your=data&amp;and=more&amp;stuff=here');
  }
  
  
  function transferFailed(evt) {
    Application.console.log("An error occurred while transferring the file.");
    Application.console.log(this.responseText);
    for(var i in evt)     
       Application.console.log(i+ ' =&gt; '+evt[i]);
  }
  </code></pre>
  
  <p>The request fails because <a href="http://www.foo.bar/" rel="noreferrer">http://www.foo.bar/</a> does not exist (I assume). My question is, why is there no error message in the evt object passed to transferFailed() that says, "The domain does not exist" or "DNS failure" or something of that nature? None of the event object's properties have any indication of what the problem is, no message, no error code, etc.</p>
  
  <p>Shouldn't there be some sort of indication of what the actual error is?</p>