B2G/gecko/browser/base/content/browser-places.js
/**
   * List of nsIURI objects characterizing the tabs currently open in the
   * browser, modulo pinned tabs.  The URIs will be in the order in which their
   * corresponding tabs appeared and duplicates are discarded.
   */
List of nsIURI objects characterizing the tabs currently open in the
browser, modulo pinned tabs.  The URIs will be in the order in which their
corresponding tabs appeared and duplicates are discarded.
List of nsIURI objects characterizing the tabs currently open in the browser modulo pinned tabs . The URIs will be in the order in which their corresponding tabs appeared and duplicates are discarded .
get uniqueCurrentPages() {
    let uniquePages = {};
    let URIs = [];
    gBrowser.visibleTabs.forEach(function (tab) {
      let spec = tab.linkedBrowser.currentURI.spec;
      if (!tab.pinned && !(spec in uniquePages)) {
        uniquePages[spec] = null;
        URIs.push(tab.linkedBrowser.currentURI);
      }
    });
    return URIs;
  }
get uniqueCurrentPages ( ) { let uniquePages = { } ; let URIs = [ ] ; gBrowser . visibleTabs . forEach ( function ( tab ) { let spec = tab . linkedBrowser . currentURI . spec ; if ( ! tab . pinned && ! ( spec in uniquePages ) ) { uniquePages [ spec ] = null ; URIs . push ( tab . linkedBrowser . currentURI ) ; } } ) ; return URIs ; }
List of nsIURI objects characterizing the tabs currently open in the
 browser, modulo pinned tabs.
List of nsIURI objects characterizing the tabs currently open in the browser modulo pinned tabs .