bin/XULRunner21_0/components/nsUpdateService.js
/**
   * When we have new status text
   * @param   request
   *          The nsIRequest object for the transfer
   * @param   context
   *          Additional data
   * @param   status
   *          A status code
   * @param   statusText
   *          Human readable version of |status|
   */
When we have new status text
@param   request
The nsIRequest object for the transfer
@param   context
Additional data
@param   status
A status code
@param   statusText
Human readable version of |status|
When we have new status text @param request The nsIRequest object for the transfer @param context Additional data @param status A status code @param statusText Human readable version of |status|
function Downloader_onStatus(request, context, status, statusText) {
    LOG("Downloader:onStatus - status: " + status + ", statusText: " +
        statusText);
    var listeners = this._listeners.concat();
    var listenerCount = listeners.length;
    for (var i = 0; i < listenerCount; ++i) {
      var listener = listeners[i];
      if (listener instanceof Ci.nsIProgressEventSink)
        listener.onStatus(request, context, status, statusText);
    }
  }
function Downloader_onStatus ( request , context , status , statusText ) { LOG ( "Downloader:onStatus - status: " + status + ", statusText: " + statusText ) ; var listeners = this . _listeners . concat ( ) ; var listenerCount = listeners . length ; for ( var i = 0 ; i < listenerCount ; ++ i ) { var listener = listeners [ i ] ; if ( listener instanceof Ci . nsIProgressEventSink ) listener . onStatus ( request , context , status , statusText ) ; } }
When we have new status text
 @param   request
          The nsIRequest object for the transfer
 @param   context
          Additional data
 @param   status
          A status code
 @param   statusText
          Human readable version of |status|
When we have new status text @param request The nsIRequest object for the transfer @param context Additional data @param status A status code @param statusText Human readable version of |status|