third_party/js/mozmill/shared-modules/sessionstore.js
function aboutSessionRestore_toggleRestoreState(element) {
    var state = this.getRestoreState(element);

    widgets.clickTreeCell(this._controller, this.tabList, element.listIndex, 0, {});
    this._controller.sleep(0);

    this._controller.assertJS("subject.newState != subject.oldState",
                              {newState : this.getRestoreState(element), oldState : state});
  }
function aboutSessionRestore_toggleRestoreState(element) {
    var state = this.getRestoreState(element);

    widgets.clickTreeCell(this._controller, this.tabList, element.listIndex, 0, {});
    this._controller.sleep(0);

    this._controller.assertJS("subject.newState != subject.oldState",
                              {newState : this.getRestoreState(element), oldState : state});
  }
function aboutSessionRestore_toggleRestoreState ( element ) { var state = this . getRestoreState ( element ) ; widgets . clickTreeCell ( this . _controller , this . tabList , element . listIndex , 0 , { } ) ; this . _controller . sleep ( 0 ) ; this . _controller . assertJS ( "subject.newState != subject.oldState" , { newState : this . getRestoreState ( element ) , oldState : state } ) ; }
Toggles the restore state for the element

@param {object} element
Specifies the element which restore state should be toggled
Toggles the restore state for the element