B2G/gecko/toolkit/components/autocomplete/tests/unit/test_badDefaultIndex.js
/**
 * A results that wants to defaultComplete to an index greater than the number
 * of matches.
 */
A results that wants to defaultComplete to an index greater than the number
of matches.
A results that wants to defaultComplete to an index greater than the number of matches .
function AutoCompleteBadIndexResult(aValues, aDefaultIndex) {
  do_check_true(aValues.length <= aDefaultIndex);
  this._values = aValues;
  this.defaultIndex = aDefaultIndex;
}
function AutoCompleteBadIndexResult ( aValues , aDefaultIndex ) { do_check_true ( aValues . length <= aDefaultIndex ) ; this . _values = aValues ; this . defaultIndex = aDefaultIndex ; }
A results that wants to defaultComplete to an index greater than the number
 of matches.
A results that wants to defaultComplete to an index greater than the number of matches .