B2G/gecko/browser/devtools/webconsole/webconsole.js
/**
   * Turns the display of log nodes on and off appropriately to reflect the
   * adjustment of the search string.
   */
Turns the display of log nodes on and off appropriately to reflect the
adjustment of the search string.
Turns the display of log nodes on and off appropriately to reflect the adjustment of the search string .
function WCF_adjustVisibilityOnSearchStringChange()
  {
    let nodes = this.outputNode.getElementsByClassName("hud-msg-node");
    let searchString = this.filterBox.value;
    for (let i = 0, n = nodes.length; i < n; ++i) {
      let node = nodes[i];
      let text = node.clipboardText;
      if (this.stringMatchesFilters(text, searchString)) {
        node.classList.remove("hud-filtered-by-string");
      }
      else {
        node.classList.add("hud-filtered-by-string");
      }
    }
    this.regroupOutput();
  }
function WCF_adjustVisibilityOnSearchStringChange ( ) { let nodes = this . outputNode . getElementsByClassName ( "hud-msg-node" ) ; let searchString = this . filterBox . value ; for ( let i = 0 , n = nodes . length ; i < n ; ++ i ) { let node = nodes [ i ] ; let text = node . clipboardText ; if ( this . stringMatchesFilters ( text , searchString ) ) { node . classList . remove ( "hud-filtered-by-string" ) ; } else { node . classList . add ( "hud-filtered-by-string" ) ; } } this . regroupOutput ( ) ; }
Turns the display of log nodes on and off appropriately to reflect the
 adjustment of the search string.
Turns the display of log nodes on and off appropriately to reflect the adjustment of the search string .
// hide nodes that match the strings // if the text matches the words in aSearchString...