Bug 1501354 - Fetch() should not block the loadgroup from completing, r=bz

This commit is contained in:
Andrea Marchesini 2018-10-27 08:55:20 +02:00
Родитель d6bfe6910f
Коммит 2680372dcf
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -539,7 +539,7 @@ FetchDriver::HttpFetch(const nsACString& aPreferredAlternativeDataType)
MOZ_ASSERT(mLoadGroup);
nsCOMPtr<nsIChannel> chan;
nsLoadFlags loadFlags = nsIRequest::LOAD_NORMAL |
nsLoadFlags loadFlags = nsIRequest::LOAD_BACKGROUND |
bypassFlag | nsIChannel::LOAD_CLASSIFY_URI;
if (mDocument) {
MOZ_ASSERT(mDocument->NodePrincipal() == mPrincipal);