B2G/gecko/accessible/tests/mochitest/editabletext/editabletext.js
/**
 * Perform all editable text tests.
 */
Perform all editable text tests.
Perform all editable text tests .
function editableTextTestRun()
{
  this.add = function add(aTest)
  {
    this.seq.push(aTest);
  }
  this.run = function run()
  {
    this.iterate();
  }
  this.index = 0;
  this.seq = new Array();
  this.iterate = function iterate()
  {
    if (this.index < this.seq.length) {
      this.seq[this.index++].startTest(this);
      return;
    }
    this.seq = null;
    SimpleTest.finish();
  }
}
function editableTextTestRun ( ) { this . add = function add ( aTest ) { this . seq . push ( aTest ) ; } this . run = function run ( ) { this . iterate ( ) ; } this . index = 0 ; this . seq = new Array ( ) ; this . iterate = function iterate ( ) { if ( this . index < this . seq . length ) { this . seq [ this . index ++ ] . startTest ( this ) ; return ; } this . seq = null ; SimpleTest . finish ( ) ; } }
Perform all editable text tests.
Perform all editable text tests .