third_party/js/mozmill/shared-modules/sessionstore.js
function aboutSessionRestore_getWindows() {
    var windows = [ ];
    var tree = this.tabList.getNode();

    for (var ii = 0; ii < tree.view.rowCount; ii++) {
      if (tree.view.isContainer(ii)) {
        windows.push({
                      index: windows.length,
                      listIndex : ii,
                      open: tree.view.isContainerOpen(ii),
                      restore: tree.view.getCellValue(ii, tree.columns.getColumnAt(0)),
                      title: tree.view.getCellText(ii, tree.columns.getColumnAt(2))
                     });
      }
    }

    return windows;
  }
function aboutSessionRestore_getWindows() {
    var windows = [ ];
    var tree = this.tabList.getNode();

    for (var ii = 0; ii < tree.view.rowCount; ii++) {
      if (tree.view.isContainer(ii)) {
        windows.push({
                      index: windows.length,
                      listIndex : ii,
                      open: tree.view.isContainerOpen(ii),
                      restore: tree.view.getCellValue(ii, tree.columns.getColumnAt(0)),
                      title: tree.view.getCellText(ii, tree.columns.getColumnAt(2))
                     });
      }
    }

    return windows;
  }
function aboutSessionRestore_getWindows ( ) { var windows = [ ] ; var tree = this . tabList . getNode ( ) ; for ( var ii = 0 ; ii < tree . view . rowCount ; ii ++ ) { if ( tree . view . isContainer ( ii ) ) { windows . push ( { index : windows . length , listIndex : ii , open : tree . view . isContainerOpen ( ii ) , restore : tree . view . getCellValue ( ii , tree . columns . getColumnAt ( 0 ) ) , title : tree . view . getCellText ( ii , tree . columns . getColumnAt ( 2 ) ) } ) ; } } return windows ; }
Get restorable windows

@returns List of windows
@type {array of object}
Get restorable windows