From 532296dc8f88065aadc4d38958a33027f1e98e3f Mon Sep 17 00:00:00 2001 From: "morse%netscape.com" Date: Fri, 17 Dec 1999 02:44:22 +0000 Subject: [PATCH] Implement reject-foreign-cookies pref, bug 13655, a=chofmann, r=neeti nsDocLoader.cpp --- uriloader/base/nsDocLoader.cpp | 2 +- webshell/src/nsDocLoader.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/uriloader/base/nsDocLoader.cpp b/uriloader/base/nsDocLoader.cpp index 3c5dc12e8a6b..4cd05cd69b40 100644 --- a/uriloader/base/nsDocLoader.cpp +++ b/uriloader/base/nsDocLoader.cpp @@ -878,7 +878,7 @@ nsDocLoaderImpl::OnStartRequest(nsIChannel *aChannel, nsISupports *aCtxt) // This channel is associated with the entire document... mDocumentChannel = aChannel; - + mLoadGroup->SetDefaultLoadChannel(mDocumentChannel); FireOnStartDocumentLoad(this, uri); } else { diff --git a/webshell/src/nsDocLoader.cpp b/webshell/src/nsDocLoader.cpp index 3c5dc12e8a6b..4cd05cd69b40 100644 --- a/webshell/src/nsDocLoader.cpp +++ b/webshell/src/nsDocLoader.cpp @@ -878,7 +878,7 @@ nsDocLoaderImpl::OnStartRequest(nsIChannel *aChannel, nsISupports *aCtxt) // This channel is associated with the entire document... mDocumentChannel = aChannel; - + mLoadGroup->SetDefaultLoadChannel(mDocumentChannel); FireOnStartDocumentLoad(this, uri); } else {