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: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/eca88f1b26b4f0214523d8571be00ebb05d0b8d6/nsBrowserStatusHandler.js/clean/suite/browser/nsBrowserStatusHandler.js