B2G/gecko/testing/extensions/community/chrome/content/litmusReporter.js
/**
 * Result constructor.
 *
 * @param machinename
 *  (optional)
 *  The name of the machine running the tests
 * @param username
 *  Username of the account submitting results
 * @param password
 *        Authentication token to be sent to the Litmus server
 * @param server
 *        (optional)
 *  The server to send results to
*/
Result constructor.
@param machinename
(optional)
The name of the machine running the tests
@param username
Username of the account submitting results
@param password
Authentication token to be sent to the Litmus server
@param server
(optional)
The server to send results to
Result constructor . @param machinename ( optional ) The name of the machine running the tests @param username Username of the account submitting results @param password Authentication token to be sent to the Litmus server @param server ( optional ) The server to send results to
function LitmusResults(a) {
  this.machinename = a.machinename || '';
  this.requireField('username', a);
  this.requireField('password', a);
  this.server = a.server || 'https://litmus.mozilla.org/process_test.cgi';
  this.action = 'submit';
  this.results = new Array();
  this.logs = new Array();
}
function LitmusResults ( a ) { this . machinename = a . machinename || '' ; this . requireField ( 'username' , a ) ; this . requireField ( 'password' , a ) ; this . server = a . server || 'https://litmus.mozilla.org/process_test.cgi' ; this . action = 'submit' ; this . results = new Array ( ) ; this . logs = new Array ( ) ; }
Result constructor.
Result constructor .