third_party/js/mozmill/shared-modules/software-update.js
function softwareUpdate_waitForCheckFinished(timeout) {
    timeout = timeout ? timeout : gTimeoutUpdateCheck;

    this._controller.waitFor(function() {
      return this.currentPage != WIZARD_PAGES.checking;
    }, "Check for updates has been completed.", timeout, null, this);
  }
function softwareUpdate_waitForCheckFinished(timeout) {
    timeout = timeout ? timeout : gTimeoutUpdateCheck;

    this._controller.waitFor(function() {
      return this.currentPage != WIZARD_PAGES.checking;
    }, "Check for updates has been completed.", timeout, null, this);
  }
function softwareUpdate_waitForCheckFinished ( timeout ) { timeout = timeout ? timeout : gTimeoutUpdateCheck ; this . _controller . waitFor ( function ( ) { return this . currentPage != WIZARD_PAGES . checking ; } , "Check for updates has been completed." , timeout , null , this ) ; }
Wait that check for updates has been finished
@param {number} timeout
Wait that check for updates has been finished