status = webShellContainer->QueryInterface(kIWebShellWindowIID, (void**)aWebShellWindow);
status = webShellContainer->QueryInterface(NS_GET_IID(nsIWebShellWindow), (void**)aWebShellWindow);
Test06_raw( nsIDOMWindow* aDOMWindow, nsIWebShellWindow** aWebShellWindow )		// m388, w214	{//		if ( !aDOMWindow )//			return NS_ERROR_NULL_POINTER;		nsIScriptGlobalObject* scriptGlobalObject = 0;		nsresult status = aDOMWindow->QueryInterface(kIScriptGlobalObjectIID, (void**)&scriptGlobalObject);		nsIWebShell* webShell = 0;		if ( scriptGlobalObject )			scriptGlobalObject->GetWebShell(&webShell);		nsIWebShell* rootWebShell = 0;		if ( webShell )			//status = webShell->GetRootWebShellEvenIfChrome(rootWebShell);		nsIWebShellContainer* webShellContainer = 0;		if ( rootWebShell )			status = rootWebShell->GetContainer(webShellContainer);		if ( webShellContainer )			status = webShellContainer->QueryInterface(kIWebShellWindowIID, (void**)aWebShellWindow);		else			(*aWebShellWindow) = 0;		NS_IF_RELEASE(webShellContainer);		NS_IF_RELEASE(rootWebShell);		NS_IF_RELEASE(webShell);		NS_IF_RELEASE(scriptGlobalObject);//		return status;	}