status = webShellContainer->QueryInterface(nsIWebShellWindow::GetIID(), (void**)aWebShellWindow);
status = webShellContainer->QueryInterface(NS_GET_IID(nsIWebShellWindow), (void**)aWebShellWindow);
Test06_nsCOMPtr00( nsIDOMWindow* aDOMWindow, nsIWebShellWindow** aWebShellWindow )		// m328, w191/199	{//		if ( !aDOMWindow )//			return NS_ERROR_NULL_POINTER;		nsresult status;		nsCOMPtr<nsIScriptGlobalObject> scriptGlobalObject = do_QueryInterface(aDOMWindow, &status);		nsIWebShell* temp0 = 0;		if ( scriptGlobalObject )			scriptGlobalObject->GetWebShell(&temp0);		nsCOMPtr<nsIWebShell> webShell = dont_AddRef(temp0);		nsIWebShell* temp1 = 0;		if ( webShell )			//status = webShell->GetRootWebShellEvenIfChrome(temp1);		nsCOMPtr<nsIWebShell> rootWebShell = dont_AddRef(temp1);		nsIWebShellContainer* temp2 = 0;		if ( rootWebShell )			status = rootWebShell->GetContainer(temp2);		nsCOMPtr<nsIWebShellContainer> webShellContainer = dont_AddRef(temp2);		if ( webShellContainer )			status = webShellContainer->QueryInterface(nsIWebShellWindow::GetIID(), (void**)aWebShellWindow);		else			(*aWebShellWindow) = 0;//		return status;	}