LOG(("handle startevent=%8lX\n",(long)this));
    void HandleEvent()    {        LOG(("nsOnStartRequestEvent::HandleEvent [req=%x]\n", mRequest.get()));        if (!mProxy->mObserver) {            NS_NOTREACHED("already handled onStopRequest event (observer is null)");            return;        }        nsresult rv = mProxy->mObserver->OnStartRequest(mRequest, mContext);        if (NS_FAILED(rv)) {            LOG(("OnStartRequest failed [rv=%x] canceling request!\n", rv));            rv = mRequest->Cancel(rv);            NS_ASSERTION(NS_SUCCEEDED(rv), "Cancel failed for request!");        }    }