0, nsnull, 0, 0, getter_AddRefs(newWindow)); #else rv = NS_NewURI(&url, "about:blank"); if (NS_SUCCEEDED(rv)) { nsCOMPtr<nsIWebShellWindow> newWindow; rv = JustCreateTopWindow(nsnull, url, PR_FALSE, PR_FALSE, NS_CHROME_ALL_CHROME, nsnull, 100, 100, getter_AddRefs(newWindow)); #endif
chromeMask, initialWidth, initialHeight, PR_TRUE, getter_AddRefs(newWindow));
nsAppShellService::CreateHiddenWindow(){  nsresult rv;  nsIURI* url = nsnull;#if XP_MAC  rv = NS_NewURI(&url, "chrome://global/content/hiddenWindow.xul");  if (NS_SUCCEEDED(rv)) {    nsCOMPtr<nsIWebShellWindow> newWindow;    rv = JustCreateTopWindow(nsnull, url, PR_FALSE, PR_FALSE,                        0, nsnull, 0, 0,                        getter_AddRefs(newWindow));#else  rv = NS_NewURI(&url, "about:blank");  if (NS_SUCCEEDED(rv)) {    nsCOMPtr<nsIWebShellWindow> newWindow;    	 rv = JustCreateTopWindow(nsnull, url, PR_FALSE, PR_FALSE,                        NS_CHROME_ALL_CHROME, nsnull, 100, 100,                        getter_AddRefs(newWindow));#endif    if (NS_SUCCEEDED(rv)) {      mHiddenWindow = newWindow;      // RegisterTopLevelWindow(newWindow); -- Mac only    }    NS_RELEASE(url);  }  NS_ASSERTION(NS_SUCCEEDED(rv), "HiddenWindow not created");  return(rv);}