29370 "Stylesheets and JS files are not always loaded". Checked in for valeski, r=pierre, a=jar.

This commit is contained in:
pierre%netscape.com 2000-03-09 04:37:01 +00:00
parent 36a0950773
commit 7674bfdbfa
3 changed files with 6 additions and 3 deletions

View File

@ -1116,7 +1116,8 @@ CSSLoaderImpl::LoadSheet(URLKey& aKey, SheetLoadData* aData)
nsCOMPtr<nsILoadGroup> loadGroup;
mDocument->GetDocumentLoadGroup(getter_AddRefs(loadGroup));
result = NS_NewStreamLoader(&loader, urlClone, aData, nsnull, loadGroup);
result = NS_NewStreamLoader(&loader, urlClone, aData, nsnull, loadGroup,
nsnull, nsIChannel::FORCE_RELOAD);
#ifdef NS_DEBUG
mSyncCallback = PR_FALSE;
#endif

View File

@ -1116,7 +1116,8 @@ CSSLoaderImpl::LoadSheet(URLKey& aKey, SheetLoadData* aData)
nsCOMPtr<nsILoadGroup> loadGroup;
mDocument->GetDocumentLoadGroup(getter_AddRefs(loadGroup));
result = NS_NewStreamLoader(&loader, urlClone, aData, nsnull, loadGroup);
result = NS_NewStreamLoader(&loader, urlClone, aData, nsnull, loadGroup,
nsnull, nsIChannel::FORCE_RELOAD);
#ifdef NS_DEBUG
mSyncCallback = PR_FALSE;
#endif

View File

@ -1116,7 +1116,8 @@ CSSLoaderImpl::LoadSheet(URLKey& aKey, SheetLoadData* aData)
nsCOMPtr<nsILoadGroup> loadGroup;
mDocument->GetDocumentLoadGroup(getter_AddRefs(loadGroup));
result = NS_NewStreamLoader(&loader, urlClone, aData, nsnull, loadGroup);
result = NS_NewStreamLoader(&loader, urlClone, aData, nsnull, loadGroup,
nsnull, nsIChannel::FORCE_RELOAD);
#ifdef NS_DEBUG
mSyncCallback = PR_FALSE;
#endif