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
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue