B2G/gecko/accessible/tests/mochitest/pivot.js
/**
 * A debug utility for writing proper sequences for queueTraversalSequence.
 */
A debug utility for writing proper sequences for queueTraversalSequence.
A debug utility for writing proper sequences for queueTraversalSequence .
function dumpTraversalSequence(aPivot, aRule)
{
  var sequence = []
  if (aPivot.moveFirst(aRule)) {
    do {
      sequence.push("'" + prettyName(aPivot.position) + "'");
    } while (aPivot.moveNext(aRule))
  }
  SimpleTest.info("\n[" + sequence.join(", ") + "]\n");
}
function dumpTraversalSequence ( aPivot , aRule ) { var sequence = [ ] if ( aPivot . moveFirst ( aRule ) ) { do { sequence . push ( "'" + prettyName ( aPivot . position ) + "'" ) ; } while ( aPivot . moveNext ( aRule ) ) } SimpleTest . info ( "\n[" + sequence . join ( ", " ) + "]\n" ) ; }
A debug utility for writing proper sequences for queueTraversalSequence.
A debug utility for writing proper sequences for queueTraversalSequence .