gecko-dev/ipc/glue
Anny Gakhokidze e12736fa36 Bug 1663238 - Only use the principal to inherit if it's equal to the flattened one, r=nika
With fission enabled, when we are starting a load, we might be saving
principals for a specific browsing context in process A, and then end up
targetting process B for the load, so during deserialization of the
LoadInfoArgs struct, we will end up using principals that were saved during a
previous load targetting that browsing context (with the same id) but in
process B.

Therefore, we cannot assert (without clearing the saved principals in the
original browsing context when a load is done, which can be done as a follow up
work) that the saved principal will be equal to the serialized one from
LoadInfoArgs.

Differential Revision: https://phabricator.services.mozilla.com/D89728
2020-09-10 14:40:31 +00:00
..
BackgroundChild.h Bug 1603420 - PBackground for the Parent-Socket process bridge r=baku,jld 2020-03-03 16:14:19 +00:00
BackgroundChildImpl.cpp Bug 1519636 - Reformat recent changes to the Google coding style r=andi 2020-08-02 15:29:15 +00:00
BackgroundChildImpl.h Bug 1648141 - IPCBlobInputStream to RemoteLazyInputStream - part 3 - PRemoteLazyInputStream, r=smaug,necko-reviewers,dragana 2020-06-29 11:03:04 +00:00
BackgroundImpl.cpp Bug 1637500 - P2. Rename methods as they are not always dealing with "threads". r=froydnj 2020-06-23 05:05:36 +00:00
BackgroundParent.h Bug 1603420 - PBackground for the Parent-Socket process bridge r=baku,jld 2020-03-03 16:14:19 +00:00
BackgroundParentImpl.cpp Bug 1568597 - RemoteWorkerManager::SelectTargetActorForSharedWorker should select an actor that is kept alive. r=asuth 2020-08-28 18:11:22 +00:00
BackgroundParentImpl.h Bug 1656349 - Refactor the IPC lifetimes for the PGamepadEventChannel object r=daoshengmu 2020-08-04 21:27:53 +00:00
BackgroundUtils.cpp Bug 1663238 - Only use the principal to inherit if it's equal to the flattened one, r=nika 2020-09-10 14:40:31 +00:00
BackgroundUtils.h Bug 1635399 - Function PrincipalInfoToPrincipal now returns Result<nsCOMPtr<nsIPrincipal>, nsresult> r=ckerschb 2020-05-12 19:02:05 +00:00
BrowserProcessSubThread.cpp Bug 1656101 - Delete some IPC dead code (BrowserProcessSubThread types and an unused header). r=mccr8 2020-07-29 23:31:38 +00:00
BrowserProcessSubThread.h Bug 1656101 - Delete some IPC dead code (BrowserProcessSubThread types and an unused header). r=mccr8 2020-07-29 23:31:38 +00:00
ByteBuf.h Bug 1592822 - Replace StyleVecU8 with ipc::ByteBuf. r=emilio 2020-01-22 20:18:40 +00:00
ByteBufUtils.h Bug 1592822 - Replace StyleVecU8 with ipc::ByteBuf. r=emilio 2020-01-22 20:18:40 +00:00
CrashReporterClient.cpp Bug 1614933 - Gather content processes' crash annotations at exception time instead of using IPC; r=froydnj 2020-04-08 06:55:40 +00:00
CrashReporterClient.h Bug 1614933 - Gather content processes' crash annotations at exception time instead of using IPC; r=froydnj 2020-04-08 06:55:40 +00:00
CrashReporterHelper.h Bug 1614933 - Gather content processes' crash annotations at exception time instead of using IPC; r=froydnj 2020-04-08 06:55:40 +00:00
CrashReporterHost.cpp Bug 1648010 - Replace uses of NS_LITERAL_STRING/NS_LITERAL_CSTRING macros by _ns literals. r=geckoview-reviewers,jgilbert,agi,hsivonen,froydnj 2020-07-01 08:29:29 +00:00
CrashReporterHost.h Bug 1614933 - Gather content processes' crash annotations at exception time instead of using IPC; r=froydnj 2020-04-08 06:55:40 +00:00
CrossProcessMutex.h Bug 1618165 - Provide BaseAutoLock and BaseAutoUnlock deduction guides for Mutex references. r=froydnj 2020-02-28 07:59:30 +00:00
CrossProcessMutex_posix.cpp
CrossProcessMutex_unimplemented.cpp
CrossProcessMutex_windows.cpp
CrossProcessSemaphore.h Bug 1477756 - Fix all webgl regression tests according to CI. r=handyman 2020-01-08 22:19:23 +00:00
CrossProcessSemaphore_posix.cpp
CrossProcessSemaphore_unimplemented.cpp
CrossProcessSemaphore_windows.cpp
EnvironmentMap.h
FileDescriptor.cpp Bug 1625138 - Part 41: Remove no longer needed includes for mozilla/TypeTraits. r=froydnj 2020-03-28 16:00:09 +00:00
FileDescriptor.h
FileDescriptorSetChild.cpp Bug 1654992 - Use std::move instead of SwapElements where possible. r=froydnj 2020-08-04 11:27:07 +00:00
FileDescriptorSetChild.h Bug 1596409 - P1.1: Make socket process support IPCStream r=dragana 2019-12-03 13:41:58 +00:00
FileDescriptorSetParent.cpp Bug 1654992 - Use std::move instead of SwapElements where possible. r=froydnj 2020-08-04 11:27:07 +00:00
FileDescriptorSetParent.h Bug 1596409 - P1.1: Make socket process support IPCStream r=dragana 2019-12-03 13:41:58 +00:00
FileDescriptorShuffle.cpp
FileDescriptorShuffle.h Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan 2020-01-09 21:50:11 +00:00
FileDescriptorUtils.cpp Bug 1519636 - Reformat recent changes to the Google coding style r=andi 2020-05-25 07:42:38 +00:00
FileDescriptorUtils.h Bug 1639837 - make CloseFileRunnable use mozilla::Runnable; r=jld 2020-05-22 22:36:59 +00:00
ForkServer.cpp Bug 1648010 - Replace uses of NS_LITERAL_STRING/NS_LITERAL_CSTRING macros by _ns literals. r=geckoview-reviewers,jgilbert,agi,hsivonen,froydnj 2020-07-01 08:29:29 +00:00
ForkServer.h Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan 2020-01-09 21:50:11 +00:00
ForkServiceChild.cpp Bug 1519636 - Reformat recent changes to the Google coding style r=jgilbert 2020-04-05 13:34:58 +00:00
ForkServiceChild.h Bug 1609881 - Part 1: put the fork server behind a preference. r=gsvelto 2020-02-12 16:57:39 +00:00
GeckoChildProcessHost.cpp Bug 1653335 - Replace MakeSpan uses by constructor calls. r=froydnj 2020-08-07 07:49:47 +00:00
GeckoChildProcessHost.h Bug 1632687 - Part 3: Introduce an OS-dependent ChannelId type to reflect that Unix doesn't use channel IDs. r=mccr8 2020-07-22 19:04:48 +00:00
IOThreadChild.h Bug 1613985 - Use default for equivalent-to-default constructors/destructors in ipc. r=jld 2020-02-14 00:57:39 +00:00
IPCMessageUtils.cpp Bug 1622166 - Change variadic functions from the old recursive way using Fold expressions r=gerald,jld 2020-05-14 16:31:17 +00:00
IPCMessageUtils.h Bug 1654992 - Use std::move instead of SwapElements where possible. r=froydnj 2020-08-04 11:27:07 +00:00
IPCStream.ipdlh
IPCStreamAlloc.h
IPCStreamChild.cpp Bug 1613985 - Use default for equivalent-to-default constructors/destructors in ipc. r=jld 2020-02-14 00:57:39 +00:00
IPCStreamDestination.cpp Bug 1646933 - DelayedStartInputStream::AsyncWait is wrongly implemented, r=smaug 2020-06-21 20:53:54 +00:00
IPCStreamDestination.h Bug 1601742 - Fix unified build with the forkserver. r=froydnj 2019-12-06 04:58:27 +00:00
IPCStreamParent.cpp Bug 1613985 - Use default for equivalent-to-default constructors/destructors in ipc. r=jld 2020-02-14 00:57:39 +00:00
IPCStreamSource.cpp Bug 1637500 - P2. Rename methods as they are not always dealing with "threads". r=froydnj 2020-06-23 05:05:36 +00:00
IPCStreamSource.h Bug 1596409 - P1.1: Make socket process support IPCStream r=dragana 2019-12-03 13:41:58 +00:00
IPCStreamUtils.cpp Bug 1596409 - P1.1: Make socket process support IPCStream r=dragana 2019-12-03 13:41:58 +00:00
IPCStreamUtils.h Bug 1629315 - Replace MOZ_MUST_USE with [[nodiscard]] in ipc. r=jld 2020-04-16 22:14:21 +00:00
IPDLParamTraits.h Bug 1633379 - Part 1: Move PInProcess into dom/ipc, r=kmag,Yoric 2020-06-25 17:50:51 +00:00
IdleSchedulerChild.cpp Bug 1614933 - Gather content processes' crash annotations at exception time instead of using IPC; r=froydnj 2020-04-08 06:55:40 +00:00
IdleSchedulerChild.h
IdleSchedulerParent.cpp Bug 1648010 - Replace uses of NS_LITERAL_STRING/NS_LITERAL_CSTRING macros by _ns literals. r=geckoview-reviewers,jgilbert,agi,hsivonen,froydnj 2020-07-01 08:29:29 +00:00
IdleSchedulerParent.h
InputStreamParams.ipdlh Bug 1648141 - IPCBlobInputStream to RemoteLazyInputStream - part 3 - PRemoteLazyInputStream, r=smaug,necko-reviewers,dragana 2020-06-29 11:03:04 +00:00
InputStreamUtils.cpp Bug 1634436 - Make cipher-strategy stateful and keep mode, key and IV as state. r=dom-workers-and-storage-reviewers,janv 2020-08-17 08:42:20 +00:00
InputStreamUtils.h Bug 1596409 - P1.1: Make socket process support IPCStream r=dragana 2019-12-03 13:41:58 +00:00
LibrarySandboxPreload.cpp Bug 1648010 - Replace uses of NS_LITERAL_STRING/NS_LITERAL_CSTRING macros by _ns literals. r=geckoview-reviewers,jgilbert,agi,hsivonen,froydnj 2020-07-01 08:29:29 +00:00
LibrarySandboxPreload.h Bug 1626174 - Enable use of wasm sandboxed libOgg in the OggDemuxer in linux, mac, try servers r=padenot,erahm,dmajor,firefox-build-system-reviewers 2020-04-22 11:16:10 +00:00
MessageChannel.cpp Bug 1663300 - Remove MessageChannel::IsInTransaction(). r=jld 2020-09-09 17:34:22 +00:00
MessageChannel.h Bug 1663300 - Remove MessageChannel::IsInTransaction(). r=jld 2020-09-09 17:34:22 +00:00
MessageLink.cpp Bug 1634846 - P2. Make ipc's MessageChannel works with TaskQueue, r=nika 2020-07-02 00:26:41 +00:00
MessageLink.h Bug 1090374 - Convert MessageChannel::mLink to a UniquePtr. r=froydnj 2020-06-16 22:33:55 +00:00
MessagePump.cpp Bug 1613985 - Use default for equivalent-to-default constructors/destructors in ipc. r=jld 2020-02-14 00:57:39 +00:00
MessagePump.h Bug 1613985 - Use default for equivalent-to-default constructors/destructors in ipc. r=jld 2020-02-14 00:57:39 +00:00
MiniTransceiver.cpp Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan 2020-01-09 21:50:11 +00:00
MiniTransceiver.h Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan 2020-01-09 21:50:11 +00:00
Neutering.h Bug 1519636 - Reformat recent changes to the Google coding style r=andi 2020-08-02 15:29:15 +00:00
PBackground.ipdl Bug 1648141 - IPCBlobInputStream to RemoteLazyInputStream - part 3 - PRemoteLazyInputStream, r=smaug,necko-reviewers,dragana 2020-06-29 11:03:04 +00:00
PBackgroundSharedTypes.ipdlh Bug 1654469 - Stop generating operator==/operator != for IPDL structs/unions by default. r=nika 2020-07-22 17:24:33 +00:00
PBackgroundTest.ipdl
PChildToParentStream.ipdl Bug 1596409 - P1.1: Make socket process support IPCStream r=dragana 2019-12-03 13:41:58 +00:00
PFileDescriptorSet.ipdl Bug 1596409 - P1.1: Make socket process support IPCStream r=dragana 2019-12-03 13:41:58 +00:00
PIdleScheduler.ipdl
PParentToChildStream.ipdl Bug 1596409 - P1.1: Make socket process support IPCStream r=dragana 2019-12-03 13:41:58 +00:00
ProcessChild.cpp Bug 1633791 part 1: Add ability to notify the child processes of an impending shutdown. r=nika 2020-05-22 18:21:59 +00:00
ProcessChild.h Bug 1633791 part 1: Add ability to notify the child processes of an impending shutdown. r=nika 2020-05-22 18:21:59 +00:00
ProcessUtils.h
ProcessUtils_bsd.cpp
ProcessUtils_common.cpp
ProcessUtils_linux.cpp
ProcessUtils_mac.mm
ProcessUtils_none.cpp
ProtocolTypes.ipdlh
ProtocolUtils.cpp Bug 1659523: Check CanSend() before calling Send() when allocating Shmems r=nika 2020-08-25 16:10:17 +00:00
ProtocolUtils.h Bug 1654379 - Allow filtering the IPC log by multiple toplevel protocol names. r=nika 2020-07-23 17:47:39 +00:00
ScopedXREEmbed.cpp Bug 1648010 - Replace uses of NS_LITERAL_STRING/NS_LITERAL_CSTRING macros by _ns literals. r=geckoview-reviewers,jgilbert,agi,hsivonen,froydnj 2020-07-01 08:29:29 +00:00
ScopedXREEmbed.h
SharedMemory.cpp Bug 1613985 - Use default for equivalent-to-default constructors/destructors in ipc. r=jld 2020-02-14 00:57:39 +00:00
SharedMemory.h Bug 1629315 - Replace MOZ_MUST_USE with [[nodiscard]] in ipc. r=jld 2020-04-16 22:14:21 +00:00
SharedMemoryBasic.h
SharedMemoryBasic_android.cpp Bug 1598068 - Add ashmem abstraction to mozglue and use it everywhere r=glandium,jld 2020-03-06 19:04:49 +00:00
SharedMemoryBasic_android.h
SharedMemoryBasic_chromium.h Bug 1613985 - Use default for equivalent-to-default constructors/destructors in ipc. r=jld 2020-02-14 00:57:39 +00:00
SharedMemoryBasic_mach.h
SharedMemoryBasic_mach.mm
SharedMemory_posix.cpp
SharedMemory_windows.cpp
Shmem.cpp Bug 1642738, part 1 - Make the non-reply MessageChannel Send messages take a UniquePtr. r=froydnj 2020-06-02 21:25:27 +00:00
Shmem.h Bug 1642738, part 1 - Make the non-reply MessageChannel Send messages take a UniquePtr. r=froydnj 2020-06-02 21:25:27 +00:00
StringUtil.cpp
TaintingIPCUtils.h Bug 1610017 - Actually taint data when tainted is specified for IPC methods r=nika 2020-02-21 17:24:17 +00:00
TaskFactory.h Bug 1609996 - Remove mozilla/Move.h. r=froydnj 2020-01-20 16:18:20 +00:00
Transport.h
TransportSecurityInfoUtils.cpp Bug 1611415 - Prefer using std::move over forget. r=froydnj 2020-02-13 14:38:48 +00:00
TransportSecurityInfoUtils.h
Transport_posix.cpp Bug 1632687 - Part 3: Introduce an OS-dependent ChannelId type to reflect that Unix doesn't use channel IDs. r=mccr8 2020-07-22 19:04:48 +00:00
Transport_posix.h
Transport_win.cpp Bug 1632687 - Part 3: Introduce an OS-dependent ChannelId type to reflect that Unix doesn't use channel IDs. r=mccr8 2020-07-22 19:04:48 +00:00
Transport_win.h
URIParams.ipdlh Bug 1589102 - Part 4: Allow (de)serialization of nested about: uris, r=kmag 2020-08-28 17:20:43 +00:00
URIUtils.cpp Bug 1589102 - Part 4: Allow (de)serialization of nested about: uris, r=kmag 2020-08-28 17:20:43 +00:00
URIUtils.h
WindowsMessageLoop.cpp Bug 1223932 - delete guard object uses from the tree; r=jwalden 2020-07-30 14:22:38 +00:00
WindowsMessageLoop.h Bug 1613985 - Use MOZ_COUNTED_DEFAULT_CTOR_*/MOZ_COUNTED_DTOR_* macros. r=froydnj 2020-02-20 11:40:14 +00:00
components.conf Bug 1620745 - Bring up fork server launcher at app-startup. r=gsvelto 2020-03-18 01:01:17 +00:00
moz.build Bug 1633379 - Part 1: Move PInProcess into dom/ipc, r=kmag,Yoric 2020-06-25 17:50:51 +00:00
nsIIPCSerializableInputStream.h Bug 1596409 - P1.1: Make socket process support IPCStream r=dragana 2019-12-03 13:41:58 +00:00