gecko-dev/dom/workers/remoteworkers
Eden Chuang e89bd2ca05 Bug 1930893 - Ensure PRemoteWorkerNonLifeCycleOpController IPC channel be closed after Worker starting shutdown. r=dom-worker-reviewers,asuth
When a Worker starts shutdown, RemoteWorkerNonLifeCycleOpControllerChild will call SendTerminated() to the parent side to nullify the RemoteWorkerController::mNonLifeCycleOpController to forbidden message sending from RemoteWorkerController.

However, SendTermainted() does not close the IPC channel, this causes the channel still can send/receive messages from IPC internal mechanism.

This patch force to close the IPC channel when Shutdown/Terminated send.

Differential Revision: https://phabricator.services.mozilla.com/D229459
2024-11-21 16:08:21 +00:00
..
moz.build Bug 1672493 - P3 Move RemoteWorker::Op and SharedWorkerOp out from RemoteWorkerChild. r=asuth 2024-11-14 09:46:17 +00:00
PRemoteWorker.ipdl Bug 1672493 - P3 Move RemoteWorker::Op and SharedWorkerOp out from RemoteWorkerChild. r=asuth 2024-11-14 09:46:17 +00:00
PRemoteWorkerController.ipdl
PRemoteWorkerNonLifeCycleOpController.ipdl Bug 1672493 - P5 Move ServiceWorker Non-life cycle related operations from RemoteWorker to RemoteWorkerNonLifeCycleController, excepts FetchEventOp. r=asuth 2024-11-14 09:46:18 +00:00
PRemoteWorkerService.ipdl Bug 1672493 - P2 Create IPC PRemoteWorkerNonLifeCycleOpController. r=asuth 2024-11-14 09:46:16 +00:00
RemoteWorkerChild.cpp Bug 1672493 - P4 Move ShareWorker Non-life cycle related operations from RemoteWorker to RemoteWorkerNonLifeCycleOpController. r=asuth 2024-11-14 09:46:17 +00:00
RemoteWorkerChild.h Bug 1672493 - P4 Move ShareWorker Non-life cycle related operations from RemoteWorker to RemoteWorkerNonLifeCycleOpController. r=asuth 2024-11-14 09:46:17 +00:00
RemoteWorkerController.cpp Bug 1672493 - P5 Move ServiceWorker Non-life cycle related operations from RemoteWorker to RemoteWorkerNonLifeCycleController, excepts FetchEventOp. r=asuth 2024-11-14 09:46:18 +00:00
RemoteWorkerController.h Bug 1672493 - P3 Move RemoteWorker::Op and SharedWorkerOp out from RemoteWorkerChild. r=asuth 2024-11-14 09:46:17 +00:00
RemoteWorkerControllerChild.cpp
RemoteWorkerControllerChild.h
RemoteWorkerControllerParent.cpp
RemoteWorkerControllerParent.h
RemoteWorkerManager.cpp Bug 1672493 - P4 Move ShareWorker Non-life cycle related operations from RemoteWorker to RemoteWorkerNonLifeCycleOpController. r=asuth 2024-11-14 09:46:17 +00:00
RemoteWorkerManager.h Bug 1672493 - P2 Create IPC PRemoteWorkerNonLifeCycleOpController. r=asuth 2024-11-14 09:46:16 +00:00
RemoteWorkerNonLifeCycleOpControllerChild.cpp Bug 1930893 - Ensure PRemoteWorkerNonLifeCycleOpController IPC channel be closed after Worker starting shutdown. r=dom-worker-reviewers,asuth 2024-11-21 16:08:21 +00:00
RemoteWorkerNonLifeCycleOpControllerChild.h Bug 1672493 - P5 Move ServiceWorker Non-life cycle related operations from RemoteWorker to RemoteWorkerNonLifeCycleController, excepts FetchEventOp. r=asuth 2024-11-14 09:46:18 +00:00
RemoteWorkerNonLifeCycleOpControllerParent.cpp Bug 1930893 - Ensure PRemoteWorkerNonLifeCycleOpController IPC channel be closed after Worker starting shutdown. r=dom-worker-reviewers,asuth 2024-11-21 16:08:21 +00:00
RemoteWorkerNonLifeCycleOpControllerParent.h Bug 1930893 - Ensure PRemoteWorkerNonLifeCycleOpController IPC channel be closed after Worker starting shutdown. r=dom-worker-reviewers,asuth 2024-11-21 16:08:21 +00:00
RemoteWorkerOp.cpp Bug 1672493 - P3 Move RemoteWorker::Op and SharedWorkerOp out from RemoteWorkerChild. r=asuth 2024-11-14 09:46:17 +00:00
RemoteWorkerOp.h Bug 1672493 - P4 Move ShareWorker Non-life cycle related operations from RemoteWorker to RemoteWorkerNonLifeCycleOpController. r=asuth 2024-11-14 09:46:17 +00:00
RemoteWorkerParent.cpp Bug 1728331 - Part 4: Make ContentParent KeepAlives explicit with RAII references, r=smaug,dom-worker-reviewers,asuth 2024-06-24 23:19:28 +00:00
RemoteWorkerParent.h Bug 1728331 - Part 4: Make ContentParent KeepAlives explicit with RAII references, r=smaug,dom-worker-reviewers,asuth 2024-06-24 23:19:28 +00:00
RemoteWorkerService.cpp Bug 1901851 - Part 3: Make PRemoteWorkerService a toplevel actor which manages PRemoteWorker, r=dom-worker-reviewers,asuth 2024-06-24 23:19:26 +00:00
RemoteWorkerService.h Bug 1901851 - Part 3: Make PRemoteWorkerService a toplevel actor which manages PRemoteWorker, r=dom-worker-reviewers,asuth 2024-06-24 23:19:26 +00:00
RemoteWorkerServiceChild.cpp Bug 1672493 - P2 Create IPC PRemoteWorkerNonLifeCycleOpController. r=asuth 2024-11-14 09:46:16 +00:00
RemoteWorkerServiceChild.h Bug 1672493 - P2 Create IPC PRemoteWorkerNonLifeCycleOpController. r=asuth 2024-11-14 09:46:16 +00:00
RemoteWorkerServiceParent.cpp Bug 1672493 - P2 Create IPC PRemoteWorkerNonLifeCycleOpController. r=asuth 2024-11-14 09:46:16 +00:00
RemoteWorkerServiceParent.h Bug 1901851 - Part 3: Make PRemoteWorkerService a toplevel actor which manages PRemoteWorker, r=dom-worker-reviewers,asuth 2024-06-24 23:19:26 +00:00
RemoteWorkerTypes.ipdlh Bug 1544232 - Limit lifetime extension of SWs by SWs to the sender's lifetime. r=edenchuang 2024-10-24 03:02:42 +00:00