gecko-dev/dom/workers
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
..
loader Bug 1918449 - Part 1: Handle unknown module type earlier r=jonco,dom-worker-reviewers,dom-core,asuth,mccr8 2024-09-24 08:50:36 +00:00
remoteworkers 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
sharedworkers Bug 1672493 - P4 Move ShareWorker Non-life cycle related operations from RemoteWorker to RemoteWorkerNonLifeCycleOpController. r=asuth 2024-11-14 09:46:17 +00:00
test Bug 1131324 - Expose ServiceWorkerContainer on WorkerNavigator. r=dom-worker-reviewers,webidl,smaug 2024-10-24 03:02:40 +00:00
ChromeWorker.cpp
ChromeWorker.h
ChromeWorkerScope.cpp
ChromeWorkerScope.h
EventWithOptionsRunnable.cpp
EventWithOptionsRunnable.h
JSExecutionManager.cpp
JSExecutionManager.h
JSSettings.h
MessageEventRunnable.cpp
MessageEventRunnable.h
moz.build
nsIWorkerChannelInfo.idl
nsIWorkerDebugger.idl Bug 1910698 - Remove nsIScriptError.sourceLine. r=smaug,devtools-reviewers,webdriver-reviewers,necko-reviewers,nchevobbe,kershaw,jdescottes,credential-management-reviewers,dimi 2024-08-01 17:12:48 +00:00
nsIWorkerDebuggerManager.idl
Queue.h
RegisterBindings.cpp Bug 1906744 - Check if constructor is enabled before installing named property. r=mccr8,dom-storage-reviewers,janv,asuth,eemeli 2024-08-08 16:35:19 +00:00
RuntimeService.cpp Bug 1922838 - Replace ArrayLength, ArrayEnd and MOZ_ARRAY_LENGTH by standard alternative r=glandium,necko-reviewers,jgilbert,application-update-reviewers,media-playback-reviewers,credential-management-reviewers,anti-tracking-reviewers,places-reviewers,profiler-reviewers,win-reviewers,dom-storage-reviewers,bytesized,janv,dimi,daisuke,karlt,gstoll,canaltinova,timhuang 2024-10-28 08:21:19 +00:00
RuntimeService.h Bug 1817981 - Add possibility to mark worker private being in background, r=smaug,asuth 2024-06-27 12:39:47 +00:00
ScriptLoader.cpp Bug 1880789 - Remove dom.workers.modules.enabled pref. r=gregp,webidl,dom-worker-reviewers,saschanaz,dom-storage-reviewers,janv,yulia,asuth 2024-09-24 10:48:13 +00:00
ScriptLoader.h
Worker.cpp
Worker.h
WorkerChannelInfo.cpp
WorkerChannelInfo.h
WorkerCommon.h Bug 1817981 - Add possibility to mark worker private being in background, r=smaug,asuth 2024-06-27 12:39:47 +00:00
WorkerCSPEventListener.cpp
WorkerCSPEventListener.h
WorkerDebugger.cpp Bug 1910698 - Remove nsIScriptError.sourceLine. r=smaug,devtools-reviewers,webdriver-reviewers,necko-reviewers,nchevobbe,kershaw,jdescottes,credential-management-reviewers,dimi 2024-08-01 17:12:48 +00:00
WorkerDebugger.h Bug 1910698 - Remove nsIScriptError.sourceLine. r=smaug,devtools-reviewers,webdriver-reviewers,necko-reviewers,nchevobbe,kershaw,jdescottes,credential-management-reviewers,dimi 2024-08-01 17:12:48 +00:00
WorkerDebuggerManager.cpp
WorkerDebuggerManager.h
WorkerDocumentListener.cpp
WorkerDocumentListener.h
WorkerError.cpp Bug 1923501 - Fix WPT workers/shared-worker-options-mismatch.html, r=asuth 2024-10-08 23:05:04 +00:00
WorkerError.h Bug 1923501 - Fix WPT workers/shared-worker-options-mismatch.html, r=asuth 2024-10-08 23:05:04 +00:00
WorkerEventTarget.cpp Bug 1914034 - Expose wrapped runnable name in ExternalRunnableWrapper::GetName and WrappedControlRunnable::GetName r=nika 2024-08-22 19:29:22 +00:00
WorkerEventTarget.h
WorkerIPCUtils.h Bug 1923501 - Fix WPT workers/shared-worker-options-mismatch.html, r=asuth 2024-10-08 23:05:04 +00:00
WorkerLoadInfo.cpp Bug 1914286 - Remove NS_RelaxStrictFileOriginPolicy. r=smaug,necko-reviewers,kershaw 2024-08-23 10:13:35 +00:00
WorkerLoadInfo.h Bug 1544232 - Limit lifetime extension of SWs by SWs to the sender's lifetime. r=edenchuang 2024-10-24 03:02:42 +00:00
WorkerLocation.cpp
WorkerLocation.h
WorkerNavigator.cpp Bug 1131324 - Expose ServiceWorkerContainer on WorkerNavigator. r=dom-worker-reviewers,webidl,smaug 2024-10-24 03:02:40 +00:00
WorkerNavigator.h Bug 1131324 - Expose ServiceWorkerContainer on WorkerNavigator. r=dom-worker-reviewers,webidl,smaug 2024-10-24 03:02:40 +00:00
WorkerPrivate.cpp Bug 1932221 - Share AgentClusterId between system JS modules and chrome workers, r=smaug 2024-11-20 17:10:35 +00:00
WorkerPrivate.h Bug 1672493 - P3 Move RemoteWorker::Op and SharedWorkerOp out from RemoteWorkerChild. r=asuth 2024-11-14 09:46:17 +00:00
WorkerRef.cpp
WorkerRef.h
WorkerRunnable.cpp
WorkerRunnable.h
WorkerScope.cpp Bug 1131324 - Expose ServiceWorkerContainer on WorkerNavigator. r=dom-worker-reviewers,webidl,smaug 2024-10-24 03:02:40 +00:00
WorkerScope.h Bug 1131324 - Expose ServiceWorkerContainer on WorkerNavigator. r=dom-worker-reviewers,webidl,smaug 2024-10-24 03:02:40 +00:00
WorkerStatus.h
WorkerTestUtils.cpp Bug 1927247 - Regenerate Client Id for ServiceWorkers on termination. r=dom-worker-reviewers,webidl,smaug 2024-11-05 06:26:05 +00:00
WorkerTestUtils.h Bug 1927247 - Regenerate Client Id for ServiceWorkers on termination. r=dom-worker-reviewers,webidl,smaug 2024-11-05 06:26:05 +00:00
WorkerThread.cpp Bug 1905337 - Keep dispatched RefPtr<WorkerThreadRunnable> of WorkerPrivate::mPreStartRunnables. r=dom-worker-reviewers,jstutte,smaug 2024-07-03 09:59:16 +00:00
WorkerThread.h Bug 1905337 - Keep dispatched RefPtr<WorkerThreadRunnable> of WorkerPrivate::mPreStartRunnables. r=dom-worker-reviewers,jstutte,smaug 2024-07-03 09:59:16 +00:00