B2G/gecko/toolkit/mozapps/update/test/chrome/utils.js
/**
 * The nsIDOMEventListener for the license radiogroup select event.
 */
The nsIDOMEventListener for the license radiogroup select event.
The nsIDOMEventListener for the license radiogroup select event .
function radioGroupSelectListener(aEvent) {
  if (aEvent.originalTarget.nodeName != "radiogroup") {
    debugDump("only handles events with an originalTarget nodeName of " +
              "|radiogroup|. aEvent.originalTarget.nodeName = " +
              aEvent.originalTarget.nodeName);
    return;
  }
  gAcceptDeclineLicense.removeEventListener("select", radioGroupSelectListener,
                                            false);
  gTestCounter++;
  gCallback(aEvent);
}
function radioGroupSelectListener ( aEvent ) { if ( aEvent . originalTarget . nodeName != "radiogroup" ) { debugDump ( "only handles events with an originalTarget nodeName of " + "|radiogroup|. aEvent.originalTarget.nodeName = " + aEvent . originalTarget . nodeName ) ; return ; } gAcceptDeclineLicense . removeEventListener ( "select" , radioGroupSelectListener , false ) ; gTestCounter ++ ; gCallback ( aEvent ) ; }
The nsIDOMEventListener for the license radiogroup select event.
The nsIDOMEventListener for the license radiogroup select event .
// Return early if the event's original target's nodeName isn't radiogroup.