B2G/gecko/browser/devtools/webconsole/webconsole.js
/**
   * Merge the attributes of the two nodes that are about to be filtered.
   * Increment the number of repeats of aOriginal.
   *
   * @param nsIDOMNode aOriginal
   *        The Original Node. The one being merged into.
   * @param nsIDOMNode aFiltered
   *        The node being filtered out because it is repeated.
   */
Merge the attributes of the two nodes that are about to be filtered.
Increment the number of repeats of aOriginal.

@param nsIDOMNode aOriginal
The Original Node. The one being merged into.
@param nsIDOMNode aFiltered
The node being filtered out because it is repeated.
Merge the attributes of the two nodes that are about to be filtered . Increment the number of repeats of aOriginal . @param nsIDOMNode aOriginal The Original Node . The one being merged into . @param nsIDOMNode aFiltered The node being filtered out because it is repeated .
function WCF_mergeFilteredMessageNode(aOriginal, aFiltered)
  {
    let repeatNode = aOriginal.childNodes[3].firstChild;
    if (!repeatNode) {
      return; 
    }
    let occurrences = parseInt(repeatNode.getAttribute("value")) + 1;
    repeatNode.setAttribute("value", occurrences);
  }
function WCF_mergeFilteredMessageNode ( aOriginal , aFiltered ) { let repeatNode = aOriginal . childNodes [ 3 ] . firstChild ; if ( ! repeatNode ) { return ; } let occurrences = parseInt ( repeatNode . getAttribute ( "value" ) ) + 1 ; repeatNode . setAttribute ( "value" , occurrences ) ; }
Merge the attributes of the two nodes that are about to be filtered.
Merge the attributes of the two nodes that are about to be filtered .
// childNodes[3].firstChild is the node containing the number of repetitions // of a node. // no repeat node, return early.