nsresult rv = NS_OK;
nsXULPrototypeDocument::GetScriptGlobalObject(nsIScriptGlobalObject** _result){    nsresult rv = NS_OK;    if (!mGlobalObject)         rv = NewXULPDGlobalObject(getter_AddRefs(mGlobalObject));    *_result = mGlobalObject;    NS_IF_ADDREF(*_result);    return rv;}