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

This commit is contained in:
Ark74 2026-05-04 16:58:41 -06:00
parent a5f93cb214
commit ff85d7c623
1256 changed files with 63469 additions and 24141 deletions

View file

@ -537,6 +537,12 @@ IPCResult BackgroundParentImpl::RecvPSharedWorkerConstructor(
PSharedWorkerParent* aActor, const mozilla::dom::RemoteWorkerData& aData,
const uint64_t& aWindowID,
const mozilla::dom::MessagePortIdentifier& aPortIdentifier) {
if (MOZ_UNLIKELY(aData.serviceWorkerData().type() !=
OptionalServiceWorkerData::Tvoid_t)) {
return IPC_FAIL(this, "Invalid worker type for PSharedWorkerParent");
}
mozilla::dom::SharedWorkerParent* actor =
static_cast<mozilla::dom::SharedWorkerParent*>(aActor);
actor->Initialize(aData, aWindowID, aPortIdentifier);
@ -677,6 +683,10 @@ mozilla::ipc::IPCResult BackgroundParentImpl::RecvPUDPSocketConstructor(
AssertIsInMainProcess();
AssertIsOnBackgroundThread();
if (!StaticPrefs::dom_udpsocket_enabled() && aFilter.IsEmpty()) {
return IPC_FAIL(this, "udp socket not enabled");
}
if (aOptionalPrincipal.isSome()) {
// Support for checking principals (for non-mtransport use) will be handled
// in bug 1167039