status = webShellContainer->QueryInterface(kIWebShellWindowIID, (void**)aWebShellWindow);
status = webShellContainer->QueryInterface(NS_GET_IID(nsIWebShellWindow), (void**)aWebShellWindow);
Test06_raw_optimized( nsIDOMWindow* aDOMWindow, nsIWebShellWindow** aWebShellWindow )		// m332, w191	{//		if ( !aDOMWindow )//			return NS_ERROR_NULL_POINTER;		(*aWebShellWindow) = 0;		nsIScriptGlobalObject* scriptGlobalObject;		nsresult status = aDOMWindow->QueryInterface(kIScriptGlobalObjectIID, (void**)&scriptGlobalObject);		if ( NS_SUCCEEDED(status) )			{				nsIWebShell* webShell;				scriptGlobalObject->GetWebShell(&webShell);				if ( webShell )					{						nsIWebShell* rootWebShell;				//		status = webShell->GetRootWebShellEvenIfChrome(rootWebShell);						if ( NS_SUCCEEDED(status) )							{								nsIWebShellContainer* webShellContainer;								status = rootWebShell->GetContainer(webShellContainer);								if ( NS_SUCCEEDED(status) )									{										status = webShellContainer->QueryInterface(kIWebShellWindowIID, (void**)aWebShellWindow);										NS_RELEASE(webShellContainer);									}								NS_RELEASE(rootWebShell);							}						NS_RELEASE(webShell);					}				NS_RELEASE(scriptGlobalObject);			}//		return status;	}