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

This commit is contained in:
danm%netscape.com 1999-12-06 01:42:11 +00:00
Родитель 9defcfad1c
Коммит 302bf8eb7e
1 изменённых файлов: 7 добавлений и 2 удалений

Просмотреть файл

@ -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
}
}