B2G/gecko/browser/components/sessionstore/src/SessionStore.jsm
/**
   * Remove the session history listener from the tab's browser if there is one.
   *
   * @param aTab
   *        The tab who's browser to remove the listener
   */
Remove the session history listener from the tab's browser if there is one.
@param aTab
The tab who's browser to remove the listener
Remove the session history listener from the tab ' s browser if there is one . @param aTab The tab who ' s browser to remove the listener
function ssi_removeSHistoryListener(aTab) {
    let browser = aTab.linkedBrowser;
    if (browser.__SS_shistoryListener) {
      browser.webNavigation.sessionHistory.
                            removeSHistoryListener(browser.__SS_shistoryListener);
      delete browser.__SS_shistoryListener;
    }
  }
function ssi_removeSHistoryListener ( aTab ) { let browser = aTab . linkedBrowser ; if ( browser . __SS_shistoryListener ) { browser . webNavigation . sessionHistory . removeSHistoryListener ( browser . __SS_shistoryListener ) ; delete browser . __SS_shistoryListener ; } }
Remove the session history listener from the tab's browser if there is one.
Remove the session history listener from the tab ' s browser if there is one .