B2G/gecko/testing/peptest/peptest/extension/resource/mozmill/stdlib/EventUtils.js
/**
 * Send the string aStr to the node with id aTarget.  If aTarget is not
 * provided, use "target".
 *
 * For now this method only works for English letters (lower and upper case)
 * and the digits 0-9.
 */
Send the string aStr to the node with id aTarget.  If aTarget is not
provided, use "target".

For now this method only works for English letters (lower and upper case)
and the digits 0-9.
Send the string aStr to the node with id aTarget . If aTarget is not provided use " target " . For now this method only works for English letters ( lower and upper case ) and the digits 0 - 9 .
function sendString(aStr, aTarget) {
  for (var i = 0; i < aStr.length; ++i) {
    sendChar(aStr.charAt(i), aTarget);
  }
}
function sendString ( aStr , aTarget ) { for ( var i = 0 ; i < aStr . length ; ++ i ) { sendChar ( aStr . charAt ( i ) , aTarget ) ; } }
Send the string aStr to the node with id aTarget.
Send the string aStr to the node with id aTarget .