B2G/gecko/browser/components/tabview/storage.js
// Returns the current state of the given tab.
Returns the current state of the given tab.
Returns the current state of the given tab .
function Storage_getTabState(tab) {
    Utils.assert(tab, "tab");
    let tabState;
    try {
      tabState = JSON.parse(this._sessionStore.getTabState(tab));
    } catch (e) {}
    return tabState;
  }
function Storage_getTabState ( tab ) { Utils . assert ( tab , "tab" ) ; let tabState ; try { tabState = JSON . parse ( this . _sessionStore . getTabState ( tab ) ) ; } catch ( e ) { } return tabState ; }
Returns the current state of the given tab.
Returns the current state of the given tab .