зеркало из https://github.com/mozilla/pjs.git
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:
Родитель
edc0552e70
Коммит
772264e9d3
|
@ -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;
|
||||||
|
|
||||||
|
|
Загрузка…
Ссылка в новой задаче