rem: var notification = Components.isSuccessCode(aStatus) ? "FailDocumentLoad" : "EndDocumentLoad"; 
add: var notification = Components.isSuccessCode(aStatus) ? "EndDocumentLoad" : "FailDocumentLoad"; 
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) ? "FailDocumentLoad" : "EndDocumentLoad";    try {      observerService.Notify(_content, notification, urlStr);    } catch (e) {    }  }
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/34e3e165b7e90257959c15d09a85191b56cd968b/nsBrowserStatusHandler.js/clean/xpfe/browser/resources/content/nsBrowserStatusHandler.js