gecko-dev/netwerk/ipc
Ray Kraesig e2ee2f11df Bug 1891541 - [2/2] enforce that MozPromise only accepts static strings r=xpcom-reviewers,media-playback-reviewers,padenot,emilio
All present uses of the call-site arguments to MozPromise's methods
supply static strings. However, this is nowhere enforced. Do so.

Additionally, since this is the third or fourth time the present author
alone has personally implemented such an enforcement mechanism, create a
helper class to simplify doing so.

No functional changes.

Differential Revision: https://phabricator.services.mozilla.com/D207462
2024-04-24 17:02:49 +00:00
..
ChannelEventQueue.cpp
ChannelEventQueue.h
DocumentChannel.cpp
DocumentChannel.h
DocumentChannelChild.cpp
DocumentChannelChild.h
DocumentChannelParent.cpp
DocumentChannelParent.h
DocumentLoadListener.cpp
DocumentLoadListener.h
InputChannelThrottleQueueChild.cpp
InputChannelThrottleQueueChild.h
InputChannelThrottleQueueParent.cpp
InputChannelThrottleQueueParent.h
moz.build
NeckoChannelParams.ipdlh
NeckoChild.cpp
NeckoChild.h
NeckoCommon.cpp
NeckoCommon.h
NeckoMessageUtils.h
NeckoParent.cpp
NeckoParent.h
NeckoTargetHolder.cpp
NeckoTargetHolder.h
ParentChannelWrapper.cpp
ParentChannelWrapper.h
ParentProcessDocumentChannel.cpp
ParentProcessDocumentChannel.h
PDataChannel.ipdl
PDocumentChannel.ipdl
PFileChannel.ipdl
PInputChannelThrottleQueue.ipdl
PNecko.ipdl
PProxyAutoConfig.ipdl
PProxyConfigLookup.ipdl
ProxyAutoConfigChild.cpp
ProxyAutoConfigChild.h
ProxyAutoConfigParent.cpp
ProxyAutoConfigParent.h
ProxyConfigLookup.cpp
ProxyConfigLookup.h
ProxyConfigLookupChild.cpp
ProxyConfigLookupChild.h
ProxyConfigLookupParent.cpp
ProxyConfigLookupParent.h
PSimpleChannel.ipdl
PSocketProcess.ipdl
PSocketProcessBackground.ipdl
PSocketProcessBridge.ipdl
SocketProcessBackgroundChild.cpp
SocketProcessBackgroundChild.h
SocketProcessBackgroundParent.cpp
SocketProcessBackgroundParent.h
SocketProcessBridgeChild.cpp
SocketProcessBridgeChild.h
SocketProcessBridgeParent.cpp
SocketProcessBridgeParent.h
SocketProcessChild.cpp
SocketProcessChild.h
SocketProcessHost.cpp
SocketProcessHost.h
SocketProcessImpl.cpp
SocketProcessImpl.h
SocketProcessLogging.h
SocketProcessParent.cpp
SocketProcessParent.h