B2G/gecko/browser/components/tabview/storage.js
// Saves the data for a single groupItem, associated with a specific window.
Saves the data for a single groupItem, associated with a specific window.
Saves the data for a single groupItem associated with a specific window .
function Storage_saveGroupItem(win, data) {
    var id = data.id;
    var existingData = this.readGroupItemData(win);
    existingData[id] = data;
    this._sessionStore.setWindowValue(win, this.GROUP_DATA_IDENTIFIER,
      JSON.stringify(existingData));
  }
function Storage_saveGroupItem ( win , data ) { var id = data . id ; var existingData = this . readGroupItemData ( win ) ; existingData [ id ] = data ; this . _sessionStore . setWindowValue ( win , this . GROUP_DATA_IDENTIFIER , JSON . stringify ( existingData ) ) ; }
Saves the data for a single groupItem, associated with a specific window.
Saves the data for a single groupItem associated with a specific window .