function MouseScrollTask(position) {
  NetInternalsTest.Task.call(this);
  this.position_ = position;
  // If the scrollbar's |position| and its node's |scrollLeft| values don't
  // currently match, we set this to true and wait for |scrollLeft| to be
  // updated, which will trigger an onscroll event.
  this.waitingToStart_ = false;
}
/**
 * A Task that scrolls the scrollbar by manipulating the DOM, and then waits
 * for the scroll to complete.  Has to be a task because onscroll and DOM
 * manipulations both occur asynchronously.
 *
 * Not safe to use when other asynchronously running code may try to
 * manipulate the scrollbar itself, or adjust the length of the scrollbar.
 *
 * @param {int} position Position to scroll to.
 * @extends {NetInternalsTest.Task}
 */
A Task that scrolls the scrollbar by manipulating the DOM, and then waits
for the scroll to complete.  Has to be a task because onscroll and DOM
manipulations both occur asynchronously.

Not safe to use when other asynchronously running code may try to
manipulate the scrollbar itself, or adjust the length of the scrollbar.

@param {int} position Position to scroll to.
A Task that scrolls the scrollbar by manipulating the DOM and then waits for the scroll to complete . Has to be a task because onscroll and DOM manipulations both occur asynchronously . Not safe to use when other asynchronously running code may try to manipulate the scrollbar itself or adjust the length of the scrollbar . @param { int } position Position to scroll to .
function MouseScrollTask(position) {
  NetInternalsTest.Task.call(this);
  this.position_ = position;
  this.waitingToStart_ = false;
}
function MouseScrollTask ( position ) { NetInternalsTest . Task . call ( this ) ; this . position_ = position ; this . waitingToStart_ = false ; }
A Task that scrolls the scrollbar by manipulating the DOM, and then waits
 for the scroll to complete.
A Task that scrolls the scrollbar by manipulating the DOM and then waits for the scroll to complete .
// If the scrollbar's |position| and its node's |scrollLeft| values don't // currently match, we set this to true and wait for |scrollLeft| to be // updated, which will trigger an onscroll event.