зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1038756: Callsites creating a channel in content/base/ImportManager (r=gkrizsanits)
This commit is contained in:
Родитель
a73c947cbb
Коммит
812edc7230
|
@ -242,11 +242,14 @@ ImportLoader::Open()
|
|||
nsCOMPtr<nsIChannel> channel;
|
||||
rv = NS_NewChannel(getter_AddRefs(channel),
|
||||
mURI,
|
||||
/* ioService = */ nullptr,
|
||||
mImportParent,
|
||||
nsILoadInfo::SEC_NORMAL,
|
||||
nsIContentPolicy::TYPE_SUBDOCUMENT,
|
||||
channelPolicy,
|
||||
loadGroup,
|
||||
/* callbacks = */ nullptr,
|
||||
nsIRequest::LOAD_BACKGROUND,
|
||||
channelPolicy);
|
||||
nullptr, // aCallbacks
|
||||
nsIRequest::LOAD_BACKGROUND);
|
||||
|
||||
NS_ENSURE_SUCCESS_VOID(rv);
|
||||
|
||||
// Init CORSListenerProxy and omit credentials.
|
||||
|
|
Загрузка…
Ссылка в новой задаче