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:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user