removing (early) Show() of new, explicitly sized windows (is redundant now, or should be...)

git-svn-id: svn://10.0.0.236/trunk@55390 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
danm%netscape.com
1999-12-06 01:42:11 +00:00
parent 947c3cd8c1
commit 78f2d4bf20

View File

@@ -651,10 +651,15 @@ nsAppShellService::JustCreateTopWindow(nsIWebShellWindow *aParent,
// this does the AddRef of the return value
rv = window->QueryInterface(kIWebShellWindowIID, (void **) aResult);
// if intrinsically sized, don't show until we have the size figured out
#if 0
// If intrinsically sized, don't show until we have the size figured out
// (6 Dec 99: this is causing new windows opened from anchor links to
// be visible too early. All windows should (and appear to in testing)
// become visible in nsWebShellWindow::OnEndDocumentLoad. Timidly
// commenting out for now.)
if (aShowWindow && !intrinsicallySized)
window->Show(PR_TRUE);
#endif
}
}