NS_NewJSEventListener(nsIDOMEventListener ** aInstancePtrResult, nsIScriptContext *aContext, nsISupports *aObject)
NS_NewJSEventListener(nsIScriptContext *aContext, JSObject *aScopeObject, nsISupports *aObject, nsIDOMEventListener ** aReturn)
NS_NewJSEventListener(nsIDOMEventListener ** aInstancePtrResult,                      nsIScriptContext *aContext, nsISupports *aObject){  nsJSEventListener* it = new nsJSEventListener(aContext, aObject);  if (!it) {    return NS_ERROR_OUT_OF_MEMORY;  }  *aInstancePtrResult = it;  NS_ADDREF(*aInstancePtrResult);  return NS_OK;}