зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1642667 - Isolate alt-srv and connection pool per first-party when privacy.partition.network_state is set to true - part 1 - implementation, r=dragana,necko-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D78082
This commit is contained in:
Родитель
5871cc1e82
Коммит
bbe813fabe
|
@ -2432,8 +2432,8 @@ void nsHttpChannel::ProcessAltService() {
|
|||
}
|
||||
|
||||
OriginAttributes originAttributes;
|
||||
StoragePrincipalHelper::GetOriginAttributes(
|
||||
this, originAttributes, StoragePrincipalHelper::eRegularPrincipal);
|
||||
StoragePrincipalHelper::GetOriginAttributesForNetworkState(this,
|
||||
originAttributes);
|
||||
|
||||
AltSvcMapping::ProcessHeader(
|
||||
altSvc, scheme, originHost, originPort, mUsername, GetTopWindowOrigin(),
|
||||
|
@ -6761,8 +6761,8 @@ nsresult nsHttpChannel::BeginConnect() {
|
|||
SetDoNotTrack();
|
||||
|
||||
OriginAttributes originAttributes;
|
||||
StoragePrincipalHelper::GetOriginAttributes(
|
||||
this, originAttributes, StoragePrincipalHelper::eRegularPrincipal);
|
||||
StoragePrincipalHelper::GetOriginAttributesForNetworkState(this,
|
||||
originAttributes);
|
||||
|
||||
RefPtr<nsHttpConnectionInfo> connInfo = new nsHttpConnectionInfo(
|
||||
host, port, EmptyCString(), mUsername, GetTopWindowOrigin(), proxyInfo,
|
||||
|
|
Загрузка…
Ссылка в новой задаче