Bug 131256: status bar doesn't reflect actual activity. Back out change that made us stop sending status change notifications for images in documents. r=bzbarsky, sr=darin.

This commit is contained in:
jaggernaut%netscape.com 2002-12-13 07:21:34 +00:00
Родитель edc0552e70
Коммит 772264e9d3
1 изменённых файлов: 1 добавлений и 5 удалений

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

@ -184,16 +184,12 @@ static nsresult NewImageChannel(nsIChannel **aResult,
// If all of the proxy requests are canceled then this request should be // If all of the proxy requests are canceled then this request should be
// canceled too. // canceled too.
// //
// Always pass in LOAD_BACKGROUND to avoid sending progress/status
// notifications. Since this request is not part of a loadgroup its
// progress info would be ignored (anyways)...
//
rv = NS_NewChannel(aResult, rv = NS_NewChannel(aResult,
aURI, // URI aURI, // URI
nsnull, // Cached IOService nsnull, // Cached IOService
nsnull, // LoadGroup nsnull, // LoadGroup
callbacks, // Notification Callbacks callbacks, // Notification Callbacks
aLoadFlags | nsIRequest::LOAD_BACKGROUND); aLoadFlags);
if (NS_FAILED(rv)) if (NS_FAILED(rv))
return rv; return rv;