B2G/gecko/browser/components/tabview/search.js
// number of matched tabs inside the window.
number of matched tabs inside the window.
number of matched tabs inside the window .
function TabMatcher_doSearch(matchFunc, unmatchFunc, otherFunc) {
    let matches = this.matched();
    let unmatched = this.unmatched();
    let otherMatches = this.matchedTabsFromOtherWindows();
    matches.forEach(function(tab, i) {
      matchFunc(tab, i);
    });
    otherMatches.forEach(function(tab,i) {
      otherFunc(tab, i+matches.length);
    });
    unmatched.forEach(function(tab, i) {
      unmatchFunc(tab, i);
    });
  }
function TabMatcher_doSearch ( matchFunc , unmatchFunc , otherFunc ) { let matches = this . matched ( ) ; let unmatched = this . unmatched ( ) ; let otherMatches = this . matchedTabsFromOtherWindows ( ) ; matches . forEach ( function ( tab , i ) { matchFunc ( tab , i ) ; } ) ; otherMatches . forEach ( function ( tab , i ) { otherFunc ( tab , i + matches . length ) ; } ) ; unmatched . forEach ( function ( tab , i ) { unmatchFunc ( tab , i ) ; } ) ; }
number of matched tabs inside the window.
number of matched tabs inside the window .