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.


git-svn-id: svn://10.0.0.236/trunk@26795 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
nisheeth%netscape.com
1999-04-08 04:08:49 +00:00
parent 9e0569b47f
commit 0614bc090a
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);
}