B2G/gecko/testing/marionette/marionette-server.js
/**
   * Send a value to client
   *
   * @param object value
   *        Value to send back to client
   * @param string command_id
   *        Unique identifier assigned to the client's request.
   *        Used to distinguish the asynchronous responses.
   */
Send a value to client
@param object value
Value to send back to client
@param string command_id
Unique identifier assigned to the client's request.
Used to distinguish the asynchronous responses.
Send a value to client @param object value Value to send back to client @param string command_id Unique identifier assigned to the client ' s request . Used to distinguish the asynchronous responses .
function MDA_sendResponse(value, command_id) {
    if (typeof(value) == 'undefined')
        value = null;
    this.sendToClient({from:this.actorID, value: value}, command_id);
  }
function MDA_sendResponse ( value , command_id ) { if ( typeof ( value ) == 'undefined' ) value = null ; this . sendToClient ( { from : this . actorID , value : value } , command_id ) ; }
Send a value to client
 @param object value
        Value to send back to client
 @param string command_id
        Unique identifier assigned to the client's request.
Send a value to client @param object value Value to send back to client @param string command_id Unique identifier assigned to the client ' s request .