Update the go menu irrespective of whether the page loaded

successfully or not. This is being done to be consistent with the
behavior where partially loaded pages do get in to SH. This
behavior will have to change Browser wil implement nsIStreamListener
or something similar to differentiate between partially loaded pages
and unsuccessfully loaded pages r=law a=don
This commit is contained in:
radha%netscape.com 1999-12-22 23:46:58 +00:00
Родитель 8851f9afc4
Коммит 94d6d87929
1 изменённых файлов: 5 добавлений и 1 удалений

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

@ -1519,7 +1519,11 @@ nsBrowserAppCore::OnEndDocumentLoad(nsIDocumentLoader* aLoader, nsIChannel* chan
* blank menu items in the 'go' menu. So, I'm taking sub-frames
* totally off the go menu. This is how 4.x behaves.
*/
if (NS_SUCCEEDED(aStatus))
/* Partially loaded and unresolved urls now get in to SH. So,
* add them in to go menu too for consistency sake. Revisit when
* browser implements nsStreamListener or something similar when it can
* distinguish between unresolved urls and partially loaded urls
*/
UpdateGoMenu();
/* To satisfy a request from the QA group */