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