зеркало из https://github.com/mozilla/gecko-dev.git
Backed out changeset 421c32ac0aaf (bug 1679749) for causing build bustage on rules.mk. CLOSED TREE
This commit is contained in:
Родитель
e724df62d2
Коммит
d1ca78bf22
|
@ -127,10 +127,6 @@ class FakeSocketTransportProvider : public nsISocketTransport {
|
|||
MOZ_ASSERT(false);
|
||||
return NS_OK;
|
||||
}
|
||||
NS_IMETHOD SetIsPrivate(bool) override {
|
||||
MOZ_ASSERT(false);
|
||||
return NS_OK;
|
||||
}
|
||||
NS_IMETHOD GetTlsFlags(uint32_t* aTlsFlags) override {
|
||||
MOZ_ASSERT(false);
|
||||
return NS_OK;
|
||||
|
|
|
@ -340,10 +340,4 @@ interface nsISocketTransport : nsITransport
|
|||
* IP address resolved using TRR.
|
||||
*/
|
||||
bool resolvedByTRR();
|
||||
|
||||
/**
|
||||
* Indicate whether this socket is created from a private window. If yes,
|
||||
* this socket will be closed when the last private window is closed.
|
||||
*/
|
||||
[noscript] void setIsPrivate(in boolean isPrivate);
|
||||
};
|
||||
|
|
|
@ -3070,12 +3070,8 @@ nsSocketTransport::SetConnectionFlags(uint32_t value) {
|
|||
("nsSocketTransport::SetConnectionFlags %p flags=%u", this, value));
|
||||
|
||||
mConnectionFlags = value;
|
||||
return NS_OK;
|
||||
}
|
||||
mIsPrivate = value & nsISocketTransport::NO_PERMANENT_STORAGE;
|
||||
|
||||
NS_IMETHODIMP
|
||||
nsSocketTransport::SetIsPrivate(bool aIsPrivate) {
|
||||
mIsPrivate = aIsPrivate;
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
|
|
|
@ -167,8 +167,6 @@ nsresult HalfOpenSocket::SetupStreams(nsISocketTransport** transport,
|
|||
tmpFlags |= nsISocketTransport::NO_PERMANENT_STORAGE;
|
||||
}
|
||||
|
||||
Unused << socketTransport->SetIsPrivate(ci->GetPrivate());
|
||||
|
||||
if (ci->GetLessThanTls13()) {
|
||||
tmpFlags |= nsISocketTransport::DONT_TRY_ECH;
|
||||
}
|
||||
|
|
|
@ -2106,7 +2106,6 @@ FWD_TS_ADDREF(GetSecurityInfo, nsISupports);
|
|||
FWD_TS_PTR(IsAlive, bool);
|
||||
FWD_TS_PTR(GetConnectionFlags, uint32_t);
|
||||
FWD_TS(SetConnectionFlags, uint32_t);
|
||||
FWD_TS(SetIsPrivate, bool);
|
||||
FWD_TS_PTR(GetTlsFlags, uint32_t);
|
||||
FWD_TS(SetTlsFlags, uint32_t);
|
||||
FWD_TS_PTR(GetRecvBufferSize, uint32_t);
|
||||
|
|
Загрузка…
Ссылка в новой задаче