icecat: add release icecat-140.6.0-1gnu1 for ecne

This commit is contained in:
Ark74 2026-01-17 19:26:27 -06:00
parent 618c9f4145
commit 7d0f5dab3b
3382 changed files with 457689 additions and 569094 deletions

View file

@ -277,6 +277,7 @@ void WebTransport::Init(const GlobalObject& aGlobal, const nsAString& aURL,
PBackgroundChild* backgroundChild =
BackgroundChild::GetOrCreateForCurrentThread();
if (NS_WARN_IF(!backgroundChild)) {
aError.Throw(NS_ERROR_FAILURE);
return;
}
@ -295,9 +296,11 @@ void WebTransport::Init(const GlobalObject& aGlobal, const nsAString& aURL,
RefPtr<WebTransportChild> child = new WebTransportChild(this);
if (NS_IsMainThread()) {
if (!childEndpoint.Bind(child)) {
aError.Throw(NS_ERROR_FAILURE);
return;
}
} else if (!childEndpoint.Bind(child, mGlobal->SerialEventTarget())) {
aError.Throw(NS_ERROR_FAILURE);
return;
}