nsIScriptGlobalObject* scriptGlobalObject = 0; nsresult status = aDOMWindow->QueryInterface(NS_GET_IID(nsIScriptGlobalObject), (void**)&scriptGlobalObject);
nsPIDOMWindow* window = 0; nsresult status = aDOMWindow->QueryInterface(NS_GET_IID(nsPIDOMWindow), (void**)&window);
Test06_raw(nsIDOMWindowInternal* aDOMWindow, nsIBaseWindow** aBaseWindow)    // m388, w214{//  if (!aDOMWindow)//    return NS_ERROR_NULL_POINTER;  nsIScriptGlobalObject* scriptGlobalObject = 0;  nsresult status = aDOMWindow->QueryInterface(NS_GET_IID(nsIScriptGlobalObject), (void**)&scriptGlobalObject);  nsIDocShell* docShell = 0;  if (scriptGlobalObject)    scriptGlobalObject->GetDocShell(&docShell);  nsIWebShell* rootWebShell = 0;  NS_IF_RELEASE(rootWebShell);  NS_IF_RELEASE(docShell);  NS_IF_RELEASE(scriptGlobalObject);//    return status;}