if (mLoading) { mLoading = PR_FALSE; mLoadSuccess = PR_TRUE;
nsCOMPtr<nsIDOMLoadListener> listener = do_QueryReferent(mParent);  if (listener) { return listener->Load(aEvent);
nsSyncLoader::Load(nsIDOMEvent* aEvent){    if (mLoading) {        mLoading = PR_FALSE;        mLoadSuccess = PR_TRUE;    }    return NS_OK;}