nsIDOMHTMLScriptElement *aElement,
nsIScriptElement *aElement,
nsHTMLScriptElement::ScriptEvaluated(nsresult aResult,                                     nsIDOMHTMLScriptElement *aElement,                                     PRBool aIsInline,                                     PRBool aWasPending){  nsresult rv = NS_OK;  if (!aIsInline) {    nsCOMPtr<nsIPresContext> presContext;    GetPresContext(this, getter_AddRefs(presContext));    nsEventStatus status = nsEventStatus_eIgnore;    nsEvent event(NS_SUCCEEDED(aResult) ? NS_SCRIPT_LOAD : NS_SCRIPT_ERROR);    rv = HandleDOMEvent(presContext, &event, nsnull, NS_EVENT_FLAG_INIT,                        &status);  }  return rv;}