Fix for bug 3413. I had to reapply the fix because it got trashed during the

work that happened on the document load observation APIs.
This commit is contained in:
nisheeth@netscape.com
1999-04-08 04:08:49 +00:00
parent 4830ab1e23
commit 8831f1f5d6
2 changed files with 12 additions and 12 deletions

View File

@@ -2200,6 +2200,12 @@ nsWebShell::OnStartURLLoad(nsIURL* aURL, const char* aContentType,
nsIContentViewer* aViewer)
{
// XXX This is a temporary hack for meeting the M4 milestone
// for seamonkey. I think Netlib should send a message to all stream listeners
// when it changes the URL like this. That would mean adding a new method
// to nsIStreamListener. Need to talk to Rick, Kipp, Gagan about this.
CheckForTrailingSlash(aURL);
/*
*Fire the OnStartDocumentLoad of the webshell observer
*/
@@ -2480,12 +2486,6 @@ nsWebShell::OnStartBinding(nsIURL* aURL, const char *aContentType)
{
nsresult rv = NS_OK;
// XXX This is a temporary hack for meeting the M3 Dogfood milestone
// for seamonkey. I think Netlib should send a message to all stream listeners
// when it changes the URL like this. That would mean adding a new method
// to nsIStreamListener. Need to talk to Rick, Kipp, Gagan about this.
CheckForTrailingSlash(aURL);
if (nsnull != mObserver) {
rv = mObserver->OnStartBinding(aURL, aContentType);
}