B2G/gecko/accessible/tests/mochitest/events.js
/**
 * Close combobox, autocomplete and etc popup, check expandable states.
 */
Close combobox, autocomplete and etc popup, check expandable states.
Close combobox autocomplete and etc popup check expandable states .
function closeCombobox(aComboboxID)
{
  this.eventSeq = [
    new stateChangeChecker(STATE_EXPANDED, false, false, aComboboxID)
  ];
  this.invoke = function closeCombobox_invoke()
  {
    synthesizeKey("VK_ESCAPE", { });
  }
  this.getID = function closeCombobox_getID()
  {
    return "close combobox " + prettyName(aComboboxID);
  }
}
function closeCombobox ( aComboboxID ) { this . eventSeq = [ new stateChangeChecker ( STATE_EXPANDED , false , false , aComboboxID ) ] ; this . invoke = function closeCombobox_invoke ( ) { synthesizeKey ( "VK_ESCAPE" , { } ) ; } this . getID = function closeCombobox_getID ( ) { return "close combobox " + prettyName ( aComboboxID ) ; } }
Close combobox, autocomplete and etc popup, check expandable states.
Close combobox autocomplete and etc popup check expandable states .