B2G/gecko/browser/devtools/webconsole/webconsole.js
/**
   * Filter the console node from the output node if it is a repeat. Console
   * messages are filtered from the output if and only if they match the
   * immediately preceding message. The output node's last occurrence should
   * have its timestamp updated.
   *
   * @param nsIDOMNode aNode
   *        The message node to be filtered or not.
   * @return boolean
   *         True if the message is filtered, false otherwise.
   */
Filter the console node from the output node if it is a repeat. Console
messages are filtered from the output if and only if they match the
immediately preceding message. The output node's last occurrence should
have its timestamp updated.

@param nsIDOMNode aNode
The message node to be filtered or not.
@return boolean
True if the message is filtered, false otherwise.
Filter the console node from the output node if it is a repeat . Console messages are filtered from the output if and only if they match the immediately preceding message . The output node ' s last occurrence should have its timestamp updated . @param nsIDOMNode aNode The message node to be filtered or not . @return boolean True if the message is filtered false otherwise .
function WCF_filterRepeatedConsole(aNode)
  {
    let lastMessage = this.outputNode.lastChild;
    if (lastMessage && lastMessage.childNodes[2] &&
        !aNode.classList.contains("webconsole-msg-inspector") &&
        aNode.childNodes[2].textContent ==
        lastMessage.childNodes[2].textContent) {
      this.mergeFilteredMessageNode(lastMessage, aNode);
      return true;
    }
    return false;
  }
function WCF_filterRepeatedConsole ( aNode ) { let lastMessage = this . outputNode . lastChild ; if ( lastMessage && lastMessage . childNodes [ 2 ] && ! aNode . classList . contains ( "webconsole-msg-inspector" ) && aNode . childNodes [ 2 ] . textContent == lastMessage . childNodes [ 2 ] . textContent ) { this . mergeFilteredMessageNode ( lastMessage , aNode ) ; return true ; } return false ; }
Filter the console node from the output node if it is a repeat.
Filter the console node from the output node if it is a repeat .
// childNodes[2] is the description element