nsCOMPtr<nsIScriptGlobalObject> scriptGlobalObject = do_QueryInterface(aDOMWindow, &status);
nsCOMPtr<nsPIDOMWindow> window = do_QueryInterface(aDOMWindow, &status);
Test06_nsCOMPtr00(nsIDOMWindowInternal* aDOMWindow, nsIBaseWindow** aBaseWindow)    // m328, w191/199{//  if (!aDOMWindow)//    return NS_ERROR_NULL_POINTER;  nsresult status;  nsCOMPtr<nsIScriptGlobalObject> scriptGlobalObject = do_QueryInterface(aDOMWindow, &status);  nsIDocShell* temp0 = 0;  if (scriptGlobalObject)    scriptGlobalObject->GetDocShell(&temp0);  nsCOMPtr<nsIDocShell> docShell = dont_AddRef(temp0);  (*aBaseWindow) = 0;//    return status;}