B2G/gecko/browser/components/tabview/storage.js
// Returns the data for all groupItems associated with the given window.
Returns the data for all groupItems associated with the given window.
Returns the data for all groupItems associated with the given window .
function Storage_readGroupItemData(win) {
    var existingData = {};
    let data;
    try {
      data = this._sessionStore.getWindowValue(win, this.GROUP_DATA_IDENTIFIER);
      if (data)
        existingData = JSON.parse(data);
    } catch (e) {
      Utils.log("Error in readGroupItemData: "+e, data);
    }
    return existingData;
  }
function Storage_readGroupItemData ( win ) { var existingData = { } ; let data ; try { data = this . _sessionStore . getWindowValue ( win , this . GROUP_DATA_IDENTIFIER ) ; if ( data ) existingData = JSON . parse ( data ) ; } catch ( e ) { Utils . log ( "Error in readGroupItemData: " + e , data ) ; } return existingData ; }
Returns the data for all groupItems associated with the given window.
Returns the data for all groupItems associated with the given window .
// getWindowValue will fail if the property doesn't exist