B2G/gecko/toolkit/mozapps/update/test/unit/test_0050_general.js
// call the nsIDOMEventListener's handleEvent method for onload.
call the nsIDOMEventListener's handleEvent method for onload.
call the nsIDOMEventListener ' s handleEvent method for onload .
function callHandleEvent() {
  gXHR.status = gExpectedStatusCode;
  var e = { target: gXHR };
  gXHR.onload(e);
}
function callHandleEvent ( ) { gXHR . status = gExpectedStatusCode ; var e = { target : gXHR } ; gXHR . onload ( e ) ; }
call the nsIDOMEventListener's handleEvent method for onload.
call the nsIDOMEventListener ' s handleEvent method for onload .