nsEvent event(NS_FOCUS_CONTENT);
nsEvent event(NS_IS_TRUSTED_EVENT(aEvent), NS_FOCUS_CONTENT);
nsHTMLLabelElement::HandleDOMEvent(nsPresContext* aPresContext,                                   nsEvent* aEvent,                                   nsIDOMEvent** aDOMEvent,                                   PRUint32 aFlags,                                   nsEventStatus* aEventStatus){  NS_ENSURE_ARG_POINTER(aEventStatus);  nsresult rv = nsGenericHTMLFormElement::HandleDOMEvent(aPresContext, aEvent,                                                         aDOMEvent, aFlags,                                                         aEventStatus);  if (NS_FAILED(rv))    return rv;  if (mHandlingEvent ||      *aEventStatus == nsEventStatus_eConsumeNoDefault ||      (aEvent->message != NS_MOUSE_LEFT_CLICK &&       aEvent->message != NS_FOCUS_CONTENT) ||      aFlags & NS_EVENT_FLAG_CAPTURE ||      !(aFlags & NS_EVENT_FLAG_SYSTEM_EVENT))    return NS_OK;  nsCOMPtr<nsIContent> content = GetForContent();  if (content && !EventTargetIn(aPresContext, aEvent, content, this)) {    mHandlingEvent = PR_TRUE;    switch (aEvent->message) {      case NS_MOUSE_LEFT_CLICK:        if (aEvent->eventStructType == NS_MOUSE_EVENT) {          if (ShouldFocus(this)) {            // Focus the for content.            content->SetFocus(aPresContext);          }          // Dispatch a new click event to |content|          //    (For compatibility with IE, we do only left click.  If          //    we wanted to interpret the HTML spec very narrowly, we          //    would do nothing.  If we wanted to do something          //    sensible, we might send more events through like          //    this.)  See bug 7554, bug 49897, and bug 96813.          nsEventStatus status = *aEventStatus;          rv = DispatchClickEvent(aPresContext, NS_STATIC_CAST(nsInputEvent*, aEvent),                                  content, PR_FALSE, &status);          // Do we care about the status this returned?  I don't think we do...        }        break;      case NS_FOCUS_CONTENT:        // Since we don't have '-moz-user-focus: normal', the only time        // the event type will be NS_FOCUS_CONTENT will be when the accesskey        // is activated.  We've already redirected the |SetFocus| call in that        // case.        // Since focus doesn't bubble, this is basically the second part        // of redirecting |SetFocus|.        {          nsEvent event(NS_FOCUS_CONTENT);          nsEventStatus status = *aEventStatus;          rv = DispatchEvent(aPresContext, &event, content, PR_TRUE, &status);          // Do we care about the status this returned?  I don't think we do...        }        break;    }    mHandlingEvent = PR_FALSE;  }  return rv;}