B2G/gecko/browser/components/tabview/tabitems.js
// Returns the current tab state's active history entry.
Returns the current tab state's active history entry.
Returns the current tab state ' s active history entry .
function TabItem__getCurrentTabStateEntry() {
    let tabState = Storage.getTabState(this.tab);
    if (tabState) {
      let index = (tabState.index || tabState.entries.length) - 1;
      if (index in tabState.entries)
        return tabState.entries[index];
    }
    return null;
  }
function TabItem__getCurrentTabStateEntry ( ) { let tabState = Storage . getTabState ( this . tab ) ; if ( tabState ) { let index = ( tabState . index || tabState . entries . length ) - 1 ; if ( index in tabState . entries ) return tabState . entries [ index ] ; } return null ; }
Returns the current tab state's active history entry.
Returns the current tab state ' s active history entry .