fune/dom/workers
Eden Chuang f1684fdbee Bug 1864661 - P1 Call IPCWorkerRef::SetActorCount() when IPCWorkerRef hold worker successfully. r=dom-worker-reviewers,asuth
Only set IPCWorkerRef::mActorCount as 1 when HoldWorker() successfully. Otherwise, WorkerPrivate::mNonblockingCCBackgrondActorCount could be recorded in the wrong way. Because IPCWorkerRef::~IPCWorkerRef() will reduce WorkerPrivate::mNonblockingCCBackgrondActorCount depends on IPCWorkerRef::mActorCount.

This patch does not fix the bug, just fixes an obviously wrong logic.
P2 will fix the bug.

Differential Revision: https://phabricator.services.mozilla.com/D194224
2023-11-27 09:22:39 +00:00
..
loader Bug 1823391 - Have a static WorkerScriptLoader::Create and try to shutdown when the workerRef is notified. r=yulia,edenchuang,asuth 2023-11-15 07:00:02 +00:00
remoteworkers Bug 1824222 - Add OverriddenFingerprintingSettings to worker loadInfo. r=tjr,dom-worker-reviewers,smaug 2023-10-17 22:02:28 +00:00
sharedworkers Bug 1776962 - Close SharedWorker on DETH disconnect. r=dom-worker-reviewers,smaug 2023-10-28 00:29:52 +00:00
test Bug 1852098 - Test new Glean-based use counters r=emilio 2023-11-21 17:09:55 +00:00
ChromeWorker.cpp
ChromeWorker.h
ChromeWorkerScope.cpp
ChromeWorkerScope.h
EventWithOptionsRunnable.cpp Bug 1836700 - Remove BusyCount of WorkerPrivate. r=asuth,ipc-reviewers,mccr8 2023-11-13 04:00:40 +00:00
EventWithOptionsRunnable.h
JSExecutionManager.cpp
JSExecutionManager.h
JSSettings.h
MessageEventRunnable.cpp Bug 1836700 - Remove BusyCount of WorkerPrivate. r=asuth,ipc-reviewers,mccr8 2023-11-13 04:00:40 +00:00
MessageEventRunnable.h Bug 1836700 - Remove BusyCount of WorkerPrivate. r=asuth,ipc-reviewers,mccr8 2023-11-13 04:00:40 +00:00
moz.build Bug 1855298 - convert .ini manifests to .toml: batch 10 dom/[t-z]**/mochitest.ini r=jmaher 2023-10-25 15:54:48 +00:00
nsIWorkerChannelInfo.idl
nsIWorkerDebugger.idl Bug 1802289 - enforce license linter for .idl and .webidl files r=linter-reviewers,sylvestre,saschanaz DONTBUILD 2023-11-06 10:18:23 +00:00
nsIWorkerDebuggerManager.idl Bug 1802289 - enforce license linter for .idl and .webidl files r=linter-reviewers,sylvestre,saschanaz DONTBUILD 2023-11-06 10:18:23 +00:00
Queue.h
RegisterBindings.cpp
RuntimeService.cpp Bug 1864168 - Part 1: Use 1-origin column number in nsIContentSecurityPolicy. r=smaug,devtools-reviewers,ochameau,ckerschb 2023-11-22 12:31:30 +00:00
RuntimeService.h
ScriptLoader.cpp Bug 1823391 - Have a static WorkerScriptLoader::Create and try to shutdown when the workerRef is notified. r=yulia,edenchuang,asuth 2023-11-15 07:00:02 +00:00
ScriptLoader.h Bug 1823391 - Have a static WorkerScriptLoader::Create and try to shutdown when the workerRef is notified. r=yulia,edenchuang,asuth 2023-11-15 07:00:02 +00:00
Worker.cpp Bug 1836700 - Remove BusyCount of WorkerPrivate. r=asuth,ipc-reviewers,mccr8 2023-11-13 04:00:40 +00:00
Worker.h
WorkerChannelInfo.cpp
WorkerChannelInfo.h
WorkerCommon.h
WorkerCSPEventListener.cpp
WorkerCSPEventListener.h
WorkerDebugger.cpp
WorkerDebugger.h
WorkerDebuggerManager.cpp
WorkerDebuggerManager.h
WorkerDocumentListener.cpp
WorkerDocumentListener.h
WorkerError.cpp
WorkerError.h
WorkerEventTarget.cpp Bug 1836700 - Remove BusyCount of WorkerPrivate. r=asuth,ipc-reviewers,mccr8 2023-11-13 04:00:40 +00:00
WorkerEventTarget.h
WorkerIPCUtils.h
WorkerLoadInfo.cpp
WorkerLoadInfo.h Bug 1824222 - Add OverriddenFingerprintingSettings to worker loadInfo. r=tjr,dom-worker-reviewers,smaug 2023-10-17 22:02:28 +00:00
WorkerLocation.cpp
WorkerLocation.h
WorkerNavigator.cpp Bug 1857593 - Enable GPC in Private Browsing Mode by default - r=jewilde,anti-tracking-reviewers,necko-reviewers,valentin,timhuang 2023-10-18 13:30:51 +00:00
WorkerNavigator.h Bug 1857593 - Enable GPC in Private Browsing Mode by default - r=jewilde,anti-tracking-reviewers,necko-reviewers,valentin,timhuang 2023-10-18 13:30:51 +00:00
WorkerPrivate.cpp Bug 1862244 - Add GlobalTeardownHelper r=smaug 2023-11-23 17:17:39 +00:00
WorkerPrivate.h Bug 1865774 - Add WorkerPrivate::mWorkerLoopIsIdle to indicate the Worker is idle and could be GCed. r=asuth 2023-11-22 16:18:34 +00:00
WorkerRef.cpp Bug 1864661 - P1 Call IPCWorkerRef::SetActorCount() when IPCWorkerRef hold worker successfully. r=dom-worker-reviewers,asuth 2023-11-27 09:22:39 +00:00
WorkerRef.h Bug 1836700 - Remove BusyCount of WorkerPrivate. r=asuth,ipc-reviewers,mccr8 2023-11-13 04:00:40 +00:00
WorkerRunnable.cpp Bug 1836700 - Remove BusyCount of WorkerPrivate. r=asuth,ipc-reviewers,mccr8 2023-11-13 04:00:40 +00:00
WorkerRunnable.h Bug 1836700 - Remove BusyCount of WorkerPrivate. r=asuth,ipc-reviewers,mccr8 2023-11-13 04:00:40 +00:00
WorkerScope.cpp Bug 1862244 - Add GlobalTeardownHelper r=smaug 2023-11-23 17:17:39 +00:00
WorkerScope.h
WorkerStatus.h
WorkerTestUtils.cpp
WorkerTestUtils.h
WorkerThread.cpp Bug 1865774 - Allow WorkerThread::HasPendingEvents() can be accessed on the parent thread. r=asuth 2023-11-21 16:30:09 +00:00
WorkerThread.h Bug 1865774 - Allow WorkerThread::HasPendingEvents() can be accessed on the parent thread. r=asuth 2023-11-21 16:30:09 +00:00