diff options
author | Wojtek Kosior <koszko@koszko.org> | 2021-12-14 21:40:23 +0100 |
---|---|---|
committer | Wojtek Kosior <koszko@koszko.org> | 2021-12-14 22:06:58 +0100 |
commit | 58fe4c7d806359bed299f74ba56902ab396a6ed1 (patch) | |
tree | 38cc0620fe36c5bd7ef7df7dd9f24d332a51fdee /common/connection_types.js | |
parent | 79446ca52cea0864ebe2540ba774cc386ee2f8bc (diff) | |
download | browser-extension-58fe4c7d806359bed299f74ba56902ab396a6ed1.tar.gz browser-extension-58fe4c7d806359bed299f74ba56902ab396a6ed1.zip |
facilitate broadcasting messages to different execution contexts within the webextension
Diffstat (limited to 'common/connection_types.js')
-rw-r--r-- | common/connection_types.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/common/connection_types.js b/common/connection_types.js index a571cb9..9747e5c 100644 --- a/common/connection_types.js +++ b/common/connection_types.js @@ -49,7 +49,9 @@ const CONNECTION_TYPE = { REMOTE_STORAGE : "0", PAGE_ACTIONS : "1", - ACTIVITY_INFO : "2" + ACTIVITY_INFO : "2", + BROADCAST_SEND: "3", + BROADCAST_LISTEN: "4" }; /* |