B2G/gecko/browser/devtools/webconsole/HUDService.jsm
/**
   * Disables all animation for a console, for unit testing. After this call,
   * the console will instantly take on a reasonable height, and the close
   * animation will not occur.
   *
   * @param string aHUDId The ID of the console.
   */
Disables all animation for a console, for unit testing. After this call,
the console will instantly take on a reasonable height, and the close
animation will not occur.

@param string aHUDId The ID of the console.
Disables all animation for a console for unit testing . After this call the console will instantly take on a reasonable height and the close animation will not occur . @param string aHUDId The ID of the console .
function HS_disableAnimation(aHUDId)
  {
    let hudBox = HUDService.hudReferences[aHUDId].iframe;
    if (hudBox.hasAttribute("animated")) {
      hudBox.removeAttribute("animated");
      this.resetHeight(aHUDId);
    }
  }
function HS_disableAnimation ( aHUDId ) { let hudBox = HUDService . hudReferences [ aHUDId ] . iframe ; if ( hudBox . hasAttribute ( "animated" ) ) { hudBox . removeAttribute ( "animated" ) ; this . resetHeight ( aHUDId ) ; } }
Disables all animation for a console, for unit testing.
Disables all animation for a console for unit testing .