зеркало из https://github.com/mozilla/gecko-dev.git
Bug #44176 --> in order to have a progress dialog for helper apps, we reset the notifications. http
wasn't regenerating the proxied notifciation calls. r=gagan
This commit is contained in:
Родитель
de4c956575
Коммит
e5ecd9e189
|
@ -103,7 +103,6 @@ nsHTTPChannel::nsHTTPChannel(nsIURI* i_URL, nsHTTPHandler* i_Handler):
|
|||
mPipeliningAllowed (PR_TRUE),
|
||||
mPipelinedRequest (nsnull),
|
||||
mApplyConversion(PR_TRUE),
|
||||
mNotificationProxiesBuilt (PR_FALSE),
|
||||
mOpenInputStreamHasEventQueue (PR_TRUE)
|
||||
{
|
||||
NS_INIT_REFCNT();
|
||||
|
@ -614,11 +613,6 @@ nsHTTPChannel::BuildNotificationProxies ()
|
|||
{
|
||||
nsresult rv = NS_OK;
|
||||
|
||||
if (mNotificationProxiesBuilt)
|
||||
return rv;
|
||||
|
||||
mNotificationProxiesBuilt = PR_TRUE;
|
||||
|
||||
NS_WITH_SERVICE(nsIEventQueueService, eventQService, kEventQueueServiceCID, &rv);
|
||||
|
||||
if (NS_FAILED(rv))
|
||||
|
|
|
@ -201,7 +201,6 @@ protected:
|
|||
// Stream as file
|
||||
nsCOMPtr<nsISupportsArray> mStreamAsFileObserverArray;
|
||||
PRBool mApplyConversion;
|
||||
PRBool mNotificationProxiesBuilt;
|
||||
PRBool mOpenInputStreamHasEventQueue;
|
||||
};
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче