gecko-dev/gfx/vr
Nika Layzell c3ca248eeb Bug 1828389 - Ensure IPC channel is closed with error after KillHard, r=ipc-reviewers,mccr8
This patch changes KillHard() such that the IPC channel is immediately
shut down with an error after a KillHard() is performed. This is done by
fixing the previously-broken CLOSE_CHANNEL_WITH_ERROR support in
ShutDownProcess, and calling that method after KillHard().

This ensures that after the process has been killed, no further messages
will be delivered and processed, even if they were sent before the
process was killed.

In addition, the assertions and KillHard calls which are disabled for
fuzzing were changed to also shut down the channel, making fuzzing IPC
errors cause the connection to be terminated like it is in production
for these actors.

This change does not impact actors which ignore processing errors.

Differential Revision: https://phabricator.services.mozilla.com/D178383
2023-05-19 19:21:08 +00:00
..
external_api
ipc Bug 1828389 - Ensure IPC channel is closed with error after KillHard, r=ipc-reviewers,mccr8 2023-05-19 19:21:08 +00:00
service Bug 1809753 - Part 1: Remove quantum-dom nsIThread::EventTarget methods, r=mccr8 2023-01-16 23:14:10 +00:00
FxROutputHandler.cpp
FxROutputHandler.h
FxRWindowManager.cpp
FxRWindowManager.h
VRDisplayClient.cpp
VRDisplayClient.h
VRDisplayPresentation.cpp
VRDisplayPresentation.h
VRManager.cpp
VRManager.h
VRPuppetCommandBuffer.cpp
VRPuppetCommandBuffer.h
VRServiceHost.cpp
VRServiceHost.h
VRShMem.cpp
VRShMem.h
VRThread.cpp
VRThread.h
components.conf
gfxVR.cpp
gfxVR.h
gfxVRMutex.h
moz.build
nsFxrCommandLineHandler.cpp
nsFxrCommandLineHandler.h