icecat: add release icecat-140.10.1-1gnu1 for ecne
This commit is contained in:
parent
a5f93cb214
commit
ff85d7c623
1256 changed files with 63469 additions and 24141 deletions
|
|
@ -56,6 +56,11 @@ TCPSocketParentBase::~TCPSocketParentBase() = default;
|
|||
|
||||
void TCPSocketParentBase::ReleaseIPDLReference() {
|
||||
MOZ_ASSERT(mIPCOpen);
|
||||
NS_ASSERTION(mIPCOpen,
|
||||
"ReleaseIPDLReference called without matching AddIPDLReference");
|
||||
if (!mIPCOpen) {
|
||||
return;
|
||||
}
|
||||
mIPCOpen = false;
|
||||
this->Release();
|
||||
}
|
||||
|
|
@ -78,6 +83,9 @@ NS_IMETHODIMP_(MozExternalRefCountType) TCPSocketParent::Release(void) {
|
|||
mozilla::ipc::IPCResult TCPSocketParent::RecvOpen(
|
||||
const nsString& aHost, const uint16_t& aPort, const bool& aUseSSL,
|
||||
const bool& aUseArrayBuffers) {
|
||||
if (!StaticPrefs::dom_tcpsocket_in_child_enabled()) {
|
||||
return IPC_FAIL(this, "tcp socket not enabled");
|
||||
}
|
||||
mSocket = new TCPSocket(nullptr, aHost, aPort, aUseSSL, aUseArrayBuffers);
|
||||
mSocket->SetSocketBridgeParent(this);
|
||||
NS_ENSURE_SUCCESS(mSocket->Init(nullptr), IPC_OK());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue