gecko-dev/dom/messagechannel
Nika Layzell 8f236832ff Bug 1758115 - Part 2: Streamline locking, initialization and shutdown for TimelineConsumers, r=smaug
The current implementation of TimelineConsumers contains some unnecessary
complexity due to how it is initialized as a singleton, and the need for it to
be initialized and used in a threadsafe way. This patch attempts to simplify it
by making all members static, and removing the need to explicitly observe
shutdown for cleanup.

In addition, this approach avoids the risk of the type being accessed from
off-main-thread during initialization or shutdown.

Depends on D150442

Differential Revision: https://phabricator.services.mozilla.com/D150443
2022-06-29 15:01:51 +00:00
..
tests Bug 1679758 - Remove trailing empty lines r=sylvestre,marionette-reviewers,jgraham 2020-12-15 10:34:54 +00:00
MessageChannel.cpp Bug 1744425 - Replace nsContentUtils::GenerateUUID() to nsID::GenerateUUID(). r=nika 2022-02-03 04:39:34 +00:00
MessageChannel.h Bug 1678062 - Remove unnecessary includes. r=andi 2020-11-23 16:12:02 +00:00
MessagePort.cpp Bug 1758115 - Part 2: Streamline locking, initialization and shutdown for TimelineConsumers, r=smaug 2022-06-29 15:01:51 +00:00
MessagePort.h Bug 1768189 - Part 22: Apply modernize-concat-nested-namespaces to dom/media/webrtc/transport/ipc/WebrtcTCPSocketParent.h ... r=andi 2022-05-09 20:41:11 +00:00
MessagePortChild.cpp Bug 1674637 - Use nested namespaces in dom/ r=sg,andi 2020-11-04 17:04:01 +00:00
MessagePortChild.h Bug 1768189 - Part 22: Apply modernize-concat-nested-namespaces to dom/media/webrtc/transport/ipc/WebrtcTCPSocketParent.h ... r=andi 2022-05-09 20:41:11 +00:00
MessagePortParent.cpp Bug 1752518: Ignore missing MessagePortService inside MessagePortParent::ForceClose. r=asuth 2022-03-01 16:37:32 +00:00
MessagePortParent.h Bug 1768189 - Part 22: Apply modernize-concat-nested-namespaces to dom/media/webrtc/transport/ipc/WebrtcTCPSocketParent.h ... r=andi 2022-05-09 20:41:11 +00:00
MessagePortService.cpp Bug 1752518: Ignore missing MessagePortService inside MessagePortParent::ForceClose. r=asuth 2022-03-01 16:37:32 +00:00
MessagePortService.h Bug 1768189 - Part 22: Apply modernize-concat-nested-namespaces to dom/media/webrtc/transport/ipc/WebrtcTCPSocketParent.h ... r=andi 2022-05-09 20:41:11 +00:00
PMessagePort.ipdl Bug 1754004 - Part 3: Move RemoteLazyInputStream to its own toplevel protocol, r=asuth,necko-reviewers,dragana 2022-05-13 14:16:10 +00:00
moz.build