void ImageInputType::handleDOMActivateEvent(Event* event)
{
    RefPtrWillBeRawPtr<HTMLInputElement> element(this->element());
    if (element->isDisabledFormControl() || !element->form())
        return;
    element->setActivatedSubmit(true);
    m_clickLocation = extractClickLocation(event);
    element->form()->prepareForSubmission(event); // Event handlers can run.
    element->setActivatedSubmit(false);
    event->setDefaultHandled();
}

Originally used to describe flaws in managing asynchronous events or signal handling that could lead to inconsistent states, this outdated CWE is now folded into broader concurrency issue categories.