nsCOMPtr<nsIScriptGlobalObject> scriptGlobalObject = do_QueryInterface(aDOMWindow);
nsCOMPtr<nsPIDOMWindow> window = do_QueryInterface(aDOMWindow);
Test06_nsCOMPtr_as_found(nsIDOMWindowInternal* aDOMWindow, nsCOMPtr<nsIBaseWindow>* aBaseWindow)    // m344, w181/201{//  if (!aDOMWindow)//    return;  nsCOMPtr<nsIScriptGlobalObject> scriptGlobalObject = do_QueryInterface(aDOMWindow);  nsCOMPtr<nsIDocShell> docShell;  if (scriptGlobalObject)    scriptGlobalObject->GetDocShell(getter_AddRefs(docShell));  }