B2G/gecko/testing/marionette/marionette-server.js
/**
   * Set timeout for searching for elements
   *
   * @param object aRequest
   *        'value' holds the search timeout in milliseconds
   */
Set timeout for searching for elements
@param object aRequest
'value' holds the search timeout in milliseconds
Set timeout for searching for elements @param object aRequest ' value ' holds the search timeout in milliseconds
function MDA_setSearchTimeout(aRequest) {
    this.command_id = this.getCommandId();
    let timeout = parseInt(aRequest.value);
    if (isNaN(timeout)) {
      this.sendError("Not a Number", 500, null, this.command_id);
    }
    else {
      this.searchTimeout = timeout;
      this.sendOk(this.command_id);
    }
  }
function MDA_setSearchTimeout ( aRequest ) { this . command_id = this . getCommandId ( ) ; let timeout = parseInt ( aRequest . value ) ; if ( isNaN ( timeout ) ) { this . sendError ( "Not a Number" , 500 , null , this . command_id ) ; } else { this . searchTimeout = timeout ; this . sendOk ( this . command_id ) ; } }
Set timeout for searching for elements
 @param object aRequest
        'value' holds the search timeout in milliseconds
Set timeout for searching for elements @param object aRequest ' value ' holds the search timeout in milliseconds