rem: else dump("Error loading URL "+urlStr+" : "+aStatus+"\n"); 
add: else {  var e = new Components.Exception("", aStatus); var name = e.name; dump("Error loading URL "+urlStr+" : "+ Number(aStatus).toString(16)); if (name) dump(" ("+name+")"); dump('\n'); } 
context:   endDocumentLoad : function(aRequest, aStatus)  {    const nsIChannel = Components.interfaces.nsIChannel;    var urlStr = aRequest.QueryInterface(nsIChannel).originalURI.spec;    if (Components.isSuccessCode(aStatus))      dump("Document "+urlStr+" loaded successfully\n"); // per QA request    else      dump("Error loading URL "+urlStr+" : "+aStatus+"\n"); // per QA request    var observerService = Components.classes["@mozilla.org/observer-service;1"]                                    .getService(Components.interfaces.nsIObserverService);    var notification = Components.isSuccessCode(aStatus) ? "EndDocumentLoad" : "FailDocumentLoad";    try {      observerService.Notify(_content, notification, urlStr);    } catch (e) {    }  }
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8395/47e4feb198f6fd0f36dfaec4275f24debb685fbf/nsBrowserStatusHandler.js/buggy/xpfe/browser/resources/content/nsBrowserStatusHandler.js