All nsIProgressEventSink notifications from the socket transport should go to the nsHTTPChannel...
git-svn-id: svn://10.0.0.236/trunk@90462 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -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));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user