зеркало из https://github.com/mozilla/pjs.git
All nsIProgressEventSink notifications from the socket transport should go to the nsHTTPChannel...
This commit is contained in:
Родитель
dd64608bc3
Коммит
263b9c6b99
|
@ -1183,7 +1183,8 @@ nsresult nsHTTPHandler::RequestTransport(nsIURI* i_Uri,
|
|||
i_Channel->GetLoadAttributes(&loadFlags);
|
||||
|
||||
nsCOMPtr<nsIInterfaceRequestor> callbacks;
|
||||
i_Channel->GetNotificationCallbacks(getter_AddRefs(callbacks));
|
||||
|
||||
callbacks = do_QueryInterface(NS_STATIC_CAST(nsIHTTPChannel*, i_Channel));
|
||||
trans->SetNotificationCallbacks(callbacks,
|
||||
(loadFlags & nsIChannel::LOAD_BACKGROUND));
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче