B2G/gecko/browser/devtools/webconsole/webconsole.js
/**
   * Clear the Web Console output.
   *
   * @param boolean aClearStorage
   *        True if you want to clear the console messages storage associated to
   *        this Web Console.
   */
Clear the Web Console output.
@param boolean aClearStorage
True if you want to clear the console messages storage associated to
this Web Console.
Clear the Web Console output . @param boolean aClearStorage True if you want to clear the console messages storage associated to this Web Console .
function JST_clearOutput(aClearStorage)
  {
    let hud = this.hud;
    let outputNode = hud.outputNode;
    let node;
    while ((node = outputNode.firstChild)) {
      hud.removeOutputMessage(node);
    }
    hud.groupDepth = 0;
    hud._outputQueue.forEach(hud._pruneItemFromQueue, hud);
    hud._outputQueue = [];
    hud._networkRequests = {};
    hud._cssNodes = {};
    if (aClearStorage) {
      this.webConsoleClient.clearMessagesCache();
    }
  }
function JST_clearOutput ( aClearStorage ) { let hud = this . hud ; let outputNode = hud . outputNode ; let node ; while ( ( node = outputNode . firstChild ) ) { hud . removeOutputMessage ( node ) ; } hud . groupDepth = 0 ; hud . _outputQueue . forEach ( hud . _pruneItemFromQueue , hud ) ; hud . _outputQueue = [ ] ; hud . _networkRequests = { } ; hud . _cssNodes = { } ; if ( aClearStorage ) { this . webConsoleClient . clearMessagesCache ( ) ; } }
Clear the Web Console output.
Clear the Web Console output .