mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1099296 - Attach LoadInfo to remaining callers of ioService and ProtocolHandlers - in security/ (r=keeler)
This commit is contained in:
parent
3a1d79ca07
commit
aa5bc08574
@ -86,7 +86,15 @@ nsHTTPDownloadEvent::Run()
|
||||
NS_ENSURE_STATE(ios);
|
||||
|
||||
nsCOMPtr<nsIChannel> chan;
|
||||
ios->NewChannel(mRequestSession->mURL, nullptr, nullptr, getter_AddRefs(chan));
|
||||
ios->NewChannel2(mRequestSession->mURL,
|
||||
nullptr,
|
||||
nullptr,
|
||||
nullptr, // aLoadingNode
|
||||
nsContentUtils::GetSystemPrincipal(),
|
||||
nullptr, // aTriggeringPrincipal
|
||||
nsILoadInfo::SEC_NORMAL,
|
||||
nsIContentPolicy::TYPE_OTHER,
|
||||
getter_AddRefs(chan));
|
||||
NS_ENSURE_STATE(chan);
|
||||
|
||||
// Security operations scheduled through normal HTTP channels are given
|
||||
|
Loading…
Reference in New Issue
Block a user