third_party/js/mozmill/shared-modules/software-update.js
function softwareUpdate_waitForDialogOpen(browserController) {
    this._controller = utils.handleWindow("type", "Update:Wizard",
                                                   null, true);
    this._wizard = this.getElement({type: "wizard"});

    this._controller.waitFor(function() {
      return this.currentPage != WIZARD_PAGES.dummy;
    }, "Dummy wizard page has been made invisible.", undefined, undefined, this);

    this._controller.window.focus();
  }
function softwareUpdate_waitForDialogOpen(browserController) {
    this._controller = utils.handleWindow("type", "Update:Wizard",
                                                   null, true);
    this._wizard = this.getElement({type: "wizard"});

    this._controller.waitFor(function() {
      return this.currentPage != WIZARD_PAGES.dummy;
    }, "Dummy wizard page has been made invisible.", undefined, undefined, this);

    this._controller.window.focus();
  }
function softwareUpdate_waitForDialogOpen ( browserController ) { this . _controller = utils . handleWindow ( "type" , "Update:Wizard" , null , true ) ; this . _wizard = this . getElement ( { type : "wizard" } ) ; this . _controller . waitFor ( function ( ) { return this . currentPage != WIZARD_PAGES . dummy ; } , "Dummy wizard page has been made invisible." , undefined , undefined , this ) ; this . _controller . window . focus ( ) ; }
Wait for the software update dialog

@param {MozMillController} browserController
Mozmill controller of the browser window
Wait for the software update dialog