B2G/gecko/browser/components/sessionstore/src/SessionStore.jsm
/**
   * Set the given window's busy state
   * @param aWindow the window
   * @param aValue the window's busy state
   */
Set the given window's busy state
@param aWindow the window
@param aValue the window's busy state
Set the given window ' s busy state @param aWindow the window @param aValue the window ' s busy state
function ssi_changeWindowStateBusyValue(aWindow, aValue) {
    this._windows[aWindow.__SSi].busy = aValue;
    if (!this._isWindowLoaded(aWindow)) {
      let stateToRestore = this._statesToRestore[aWindow.__SS_restoreID].windows[0];
      stateToRestore.busy = aValue;
    }
  }
function ssi_changeWindowStateBusyValue ( aWindow , aValue ) { this . _windows [ aWindow . __SSi ] . busy = aValue ; if ( ! this . _isWindowLoaded ( aWindow ) ) { let stateToRestore = this . _statesToRestore [ aWindow . __SS_restoreID ] . windows [ 0 ] ; stateToRestore . busy = aValue ; } }
Set the given window's busy state
 @param aWindow the window
 @param aValue the window's busy state
Set the given window ' s busy state @param aWindow the window @param aValue the window ' s busy state
// Keep the to-be-restored state in sync because that is returned by // getWindowState() as long as the window isn't loaded, yet.