mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-27 14:52:16 +00:00
29370 "Stylesheets and JS files are not always loaded". Checked in for valeski, r=pierre, a=jar.
This commit is contained in:
parent
36a0950773
commit
7674bfdbfa
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user