mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-10 17:24:29 +00:00
All nsIProgressEventSink notifications from the socket transport should go to the nsHTTPChannel...
This commit is contained in:
parent
d65d8b3774
commit
35247b3aca
@ -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));
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user