gecko-dev/ipc/glue
Nika Layzell 60130dbef6 Bug 1914594 - Move docshell.newWindowTarget to be on LoadInfo a=diannaS
Previously, this was passed around using the nsHashPropertyBag base
class on HTTP channels. In bug 1907269, this base was added to
nsExtProtocolChannel to support reading this property for external
protocols.

This unfortunately ended up not working when a HTTP channel redirects to
an external protocol, as the hash property propagation logic in
nsHttpChannel happens after the check that the target channel is a HTTP
channel, so the property was lost when redirecting to an external
protocol.

Rather than refactoring HTTP redirect logic, this patch simplifies by
moving the property onto the LoadInfo where it will be trivially
preserved across redirects, and available in the places which need it.

Because the nsHashPropertyBag base is no longer required for
nsExtProtocolChannel, it is also removed.

Differential Revision: https://phabricator.services.mozilla.com/D221876
2024-09-12 16:22:19 +00:00
..
test Bug 1895375 - [4/4] Propagate ipc::LaunchErrors to callers r=ipc-reviewers,nika 2024-05-30 17:52:09 +00:00
AsyncBlockers.h
BackgroundChild.h
BackgroundChildImpl.cpp Bug 1831092 - Use the new pull-based API for all crash annotations and remove the global annotations table r=jgilbert,necko-reviewers,media-playback-reviewers,profiler-reviewers,win-reviewers,padenot,handyman,afranchuk,valentin,alwu,sotaro 2024-03-04 10:24:43 +00:00
BackgroundChildImpl.h Bug 1874739 - Part 8: Make PQuota refcounted, r=dom-storage-reviewers,janv 2024-01-19 20:23:20 +00:00
BackgroundImpl.cpp Bug 1875528 - Part 5: Make BackgroundChildImpl threadsafe refcounted, r=ipc-reviewers,mccr8 2024-04-22 17:13:24 +00:00
BackgroundParent.h
BackgroundParentImpl.cpp Bug 1884221, 1895375: apply code formatting via Lando 2024-05-30 18:30:24 +00:00
BackgroundParentImpl.h Bug 1855142 - Ensure IndexedDabaseManager::mLocale separately; r=dom-storage-reviewers,jari 2024-02-29 15:28:47 +00:00
BackgroundStarterChild.h
BackgroundStarterParent.h
BackgroundUtils.cpp Bug 1914594 - Move docshell.newWindowTarget to be on LoadInfo a=diannaS 2024-09-12 16:22:19 +00:00
BackgroundUtils.h
BigBuffer.cpp
BigBuffer.h
BrowserProcessSubThread.cpp
BrowserProcessSubThread.h
ByteBuf.h
ByteBufUtils.h
components.conf
CrashReporterClient.cpp
CrashReporterClient.h
CrashReporterHelper.h
CrashReporterHost.cpp Bug 1896650 - Remove sequence numbers from crash reports r=KrisWright 2024-05-21 19:58:18 +00:00
CrashReporterHost.h Bug 1896650 - Remove sequence numbers from crash reports r=KrisWright 2024-05-21 19:58:18 +00:00
CrossProcessMutex.h
CrossProcessMutex_posix.cpp
CrossProcessMutex_unimplemented.cpp
CrossProcessMutex_windows.cpp
CrossProcessSemaphore.h
CrossProcessSemaphore_mach.cpp Bug 1829026 - Handle KERN_ABORTED from semaphore_wait. r=aosmond 2023-12-18 18:10:47 +00:00
CrossProcessSemaphore_posix.cpp
CrossProcessSemaphore_unimplemented.cpp
CrossProcessSemaphore_windows.cpp
DataPipe.cpp
DataPipe.h
Endpoint.cpp Bug 1724083 - Part 1: Rework ActorDestroy logic to be more resilient to nested event loops, r=ipc-reviewers,mccr8 2024-04-22 17:31:06 +00:00
Endpoint.h Bug 1895358 - Part 2: Handle ManagedContainer membership more centrally, r=ipc-reviewers,mccr8 2024-05-15 20:36:28 +00:00
EnumSerializer.h Bug 1831092 - Use the new pull-based API for all crash annotations and remove the global annotations table r=jgilbert,necko-reviewers,media-playback-reviewers,profiler-reviewers,win-reviewers,padenot,handyman,afranchuk,valentin,alwu,sotaro 2024-03-04 10:24:43 +00:00
EnvironmentMap.h
ExtensionKitUtils.h Bug 1881636 - Part 3: Implement IosProcessLauncher::DoLaunch. r=glandium,ipc-reviewers,jld 2024-03-26 22:56:27 +00:00
ExtensionKitUtils.mm Bug 1881636: apply code formatting via Lando 2024-03-26 22:59:25 +00:00
FileDescriptor.cpp
FileDescriptor.h
FileDescriptorShuffle.cpp
FileDescriptorShuffle.h
FileDescriptorUtils.cpp
FileDescriptorUtils.h
ForkServer.cpp
ForkServer.h
ForkServiceChild.cpp Bug 1880590 - Fix benign data race during fork server shutdown. r=nika 2024-03-02 01:44:38 +00:00
ForkServiceChild.h Bug 1880590 - Fix benign data race during fork server shutdown. r=nika 2024-03-02 01:44:38 +00:00
GeckoChildProcessHost.cpp Bug 1895375 - [1/4] Adjust types associated with ipc::LaunchError r=ipc-reviewers,win-reviewers,gstoll,nika 2024-05-30 17:52:07 +00:00
GeckoChildProcessHost.h Bug 1881636 - Part 3: Implement IosProcessLauncher::DoLaunch. r=glandium,ipc-reviewers,jld 2024-03-26 22:56:27 +00:00
IdleSchedulerChild.cpp Bug 1847298: IPC constructor cleanup r=nika,padenot,dom-storage-reviewers,necko-reviewers,cookie-reviewers,asuth,Jamie 2023-12-08 15:56:39 +00:00
IdleSchedulerChild.h
IdleSchedulerParent.cpp
IdleSchedulerParent.h
InputStreamParams.ipdlh
InputStreamUtils.cpp
InputStreamUtils.h
IOThreadChild.h
IPCCore.h
IPCForwards.h
IPCMessageUtils.h Bug 1885245 - Remove PlainOldDataSerializer. r=mccr8 a=RyanVM 2024-07-27 22:40:39 +00:00
IPCMessageUtilsSpecializations.cpp
IPCMessageUtilsSpecializations.h Bug 1860565 - Serialize and Deserialize LinkHeader::mAnchor in IPCMessageUtilsSpecializations.h r=manuel 2024-05-06 16:59:44 +00:00
IPCStream.ipdlh
IPCStreamUtils.cpp Bug 1868254: Remore unneeded MOZ_ASSERT_UNREACHABLE r=necko-reviewers,valentin 2024-02-26 22:48:59 +00:00
IPCStreamUtils.h
IPCTypes.h
IPDLParamTraits.h
IPDLStructMember.h
LaunchError.h Bug 1895375 - [1/4] Adjust types associated with ipc::LaunchError r=ipc-reviewers,win-reviewers,gstoll,nika 2024-05-30 17:52:07 +00:00
MessageChannel.cpp Bug 1883107 - Limit MessageTask blocking in fuzzing. r=nika 2024-04-19 15:28:19 +00:00
MessageChannel.h Bug 1900879 - part 1: Remove unused MessageChannel::SpinInternalEventLoop r=ipc-reviewers,nika 2024-06-06 20:19:19 +00:00
MessageLink.cpp Bug 1892652 - Part 2: Note if shmem allocation failed in message size too large crashes, r=ipc-reviewers,jld 2024-05-15 16:33:26 +00:00
MessageLink.h
MessagePump.cpp
MessagePump.h
MessagePump_android.cpp
MessagePump_mac.mm
MessagePump_windows.cpp
MiniTransceiver.cpp Bug 1875415 - Initialize the fork server's cmsg buffers. r=mccr8 2024-02-10 01:22:50 +00:00
MiniTransceiver.h
moz.build Bug 1895375 - [1/4] Adjust types associated with ipc::LaunchError r=ipc-reviewers,win-reviewers,gstoll,nika 2024-05-30 17:52:07 +00:00
Neutering.h
NodeChannel.cpp Bug 1892652 - Part 2: Note if shmem allocation failed in message size too large crashes, r=ipc-reviewers,jld 2024-05-15 16:33:26 +00:00
NodeChannel.h Bug 1881636 - Part 3: Implement IosProcessLauncher::DoLaunch. r=glandium,ipc-reviewers,jld 2024-03-26 22:56:27 +00:00
NodeController.cpp Bug 1892799 - Remove incorrect assertion, r=ipc-reviewers,mccr8 2024-05-08 20:31:47 +00:00
NodeController.h Bug 1879375 - Ensure IPDL actors are notified of peer node destruction, r=ipc-reviewers,mccr8 2024-04-22 16:27:38 +00:00
nsIIPCSerializableInputStream.h
PBackground.ipdl Bug 1855142 - Ensure IndexedDabaseManager::mLocale separately; r=dom-storage-reviewers,jari 2024-02-29 15:28:47 +00:00
PBackgroundSharedTypes.ipdlh Bug 1887719 - More consistently use UTF8String/nsCString for URLs. r=necko-reviewers,webidl,anti-tracking-reviewers,places-reviewers,jari,kershaw,janv,smaug,hsivonen 2024-04-04 11:49:57 +00:00
PBackgroundStarter.ipdl Bug 1867360 - Require toplevel protocols to specify which processes they expect to be bound in, r=decoder,ipc-reviewers,necko-reviewers,media-playback-reviewers,profiler-reviewers,win-reviewers,aosmond,rkraesig,mccr8,kershaw 2024-01-18 23:07:18 +00:00
PBackgroundTest.ipdl
PIdleScheduler.ipdl
ProcessChild.cpp Bug 1831092 - Use the new pull-based API for all crash annotations and remove the global annotations table r=jgilbert,necko-reviewers,media-playback-reviewers,profiler-reviewers,win-reviewers,padenot,handyman,afranchuk,valentin,alwu,sotaro 2024-03-04 10:24:43 +00:00
ProcessChild.h Bug 1831092 - Use the new pull-based API for all crash annotations and remove the global annotations table r=jgilbert,necko-reviewers,media-playback-reviewers,profiler-reviewers,win-reviewers,padenot,handyman,afranchuk,valentin,alwu,sotaro 2024-03-04 10:24:43 +00:00
ProcessUtils.h Bug 1881636 - Part 2 - Expose SetClientChannelFd, SetPrefsFd and SetPrefMapFd on iOS. r=ipc-reviewers,nika 2024-03-26 22:56:26 +00:00
ProcessUtils_bsd.cpp
ProcessUtils_common.cpp Bug 1881636 - Part 3: Implement IosProcessLauncher::DoLaunch. r=glandium,ipc-reviewers,jld 2024-03-26 22:56:27 +00:00
ProcessUtils_linux.cpp
ProcessUtils_mac.mm
ProcessUtils_none.cpp
ProtocolMessageUtils.h
ProtocolTypes.ipdlh
ProtocolUtils.cpp Bug 1895358 - Part 2: Handle ManagedContainer membership more centrally, r=ipc-reviewers,mccr8 2024-05-15 20:36:28 +00:00
ProtocolUtils.h Bug 1895358 - Part 2: Handle ManagedContainer membership more centrally, r=ipc-reviewers,mccr8 2024-05-15 20:36:28 +00:00
PUtilityAudioDecoder.ipdl Bug 1884719 - part1 : init gfxVar when creating a UtilityAudioDecoderParent. r=gerard-majax 2024-03-13 17:58:03 +00:00
PUtilityProcess.ipdl Bug 1884719 - part1 : init gfxVar when creating a UtilityAudioDecoderParent. r=gerard-majax 2024-03-13 17:58:03 +00:00
RandomAccessStreamParams.ipdlh
RandomAccessStreamUtils.cpp
RandomAccessStreamUtils.h
RawShmem.cpp
RawShmem.h
ScopedPort.cpp
ScopedPort.h
SerializedStructuredCloneBuffer.cpp
SerializedStructuredCloneBuffer.h
SetProcessTitle.cpp
SetProcessTitle.h
SharedMemory.cpp
SharedMemory.h
SharedMemory_posix.cpp
SharedMemory_windows.cpp
SharedMemoryBasic.h
SharedMemoryBasic_chromium.h
SharedMemoryBasic_mach.h
SharedMemoryBasic_mach.mm
Shmem.cpp Bug 1873295 - Part 1: Relax Shmem DEBUG behaviour around actor destruction, r=ipc-reviewers,jld 2024-02-05 18:43:43 +00:00
Shmem.h Bug 1873295 - Part 1: Relax Shmem DEBUG behaviour around actor destruction, r=ipc-reviewers,jld 2024-02-05 18:43:43 +00:00
ShmemMessageUtils.h
SideVariant.h
StringUtil.cpp
TaintingIPCUtils.h
TaskFactory.h
ToplevelActorHolder.h
TransportSecurityInfoUtils.cpp
TransportSecurityInfoUtils.h Bug 1900132 - streamline PVerifySSLServerCert protocol r=jschanck 2024-06-05 23:58:02 +00:00
URIParams.ipdlh
URIUtils.cpp
URIUtils.h
UtilityAudioDecoder.cpp Bug 1640839 - Make WebIDL enum helper function to convert to string return an actual string. r=mccr8,media-playback-reviewers,padenot 2024-03-02 07:50:21 +00:00
UtilityAudioDecoder.h
UtilityAudioDecoderChild.cpp Bug 1898588 - part5 : remove encryption scheme per key system. r=jolin 2024-05-29 18:27:04 +00:00
UtilityAudioDecoderChild.h Bug 1884719 - part1 : init gfxVar when creating a UtilityAudioDecoderParent. r=gerard-majax 2024-03-13 17:58:03 +00:00
UtilityAudioDecoderParent.cpp Bug 1884719 - part1 : init gfxVar when creating a UtilityAudioDecoderParent. r=gerard-majax 2024-03-13 17:58:03 +00:00
UtilityAudioDecoderParent.h Bug 1884719 - part1 : init gfxVar when creating a UtilityAudioDecoderParent. r=gerard-majax 2024-03-13 17:58:03 +00:00
UtilityProcessChild.cpp Bug 1884719 - part1 : init gfxVar when creating a UtilityAudioDecoderParent. r=gerard-majax 2024-03-13 17:58:03 +00:00
UtilityProcessChild.h Bug 1884719 - part1 : init gfxVar when creating a UtilityAudioDecoderParent. r=gerard-majax 2024-03-13 17:58:03 +00:00
UtilityProcessHost.cpp Bug 1895375 - [4/4] Propagate ipc::LaunchErrors to callers r=ipc-reviewers,nika 2024-05-30 17:52:09 +00:00
UtilityProcessHost.h Bug 1895375 - [4/4] Propagate ipc::LaunchErrors to callers r=ipc-reviewers,nika 2024-05-30 17:52:09 +00:00
UtilityProcessImpl.cpp Bug 1880373 - cache the CPU frequency in ProcInfo_win before enabling the sandbox in utility processes, r=gerard-majax. 2024-02-15 16:20:45 +00:00
UtilityProcessImpl.h
UtilityProcessManager.cpp Bug 1895375 - [4/4] Propagate ipc::LaunchErrors to callers r=ipc-reviewers,nika 2024-05-30 17:52:09 +00:00
UtilityProcessManager.h Bug 1884221, 1895375: apply code formatting via Lando 2024-05-30 18:30:24 +00:00
UtilityProcessParent.cpp Bug 1831092 - Use the new pull-based API for all crash annotations and remove the global annotations table r=jgilbert,necko-reviewers,media-playback-reviewers,profiler-reviewers,win-reviewers,padenot,handyman,afranchuk,valentin,alwu,sotaro 2024-03-04 10:24:43 +00:00
UtilityProcessParent.h
UtilityProcessSandboxing.cpp
UtilityProcessSandboxing.h
WindowsMessageLoop.cpp Bug 1900879 - part 1: Remove unused MessageChannel::SpinInternalEventLoop r=ipc-reviewers,nika 2024-06-06 20:19:19 +00:00
WindowsMessageLoop.h