[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [pluggable-transports/snowflake-webext] 03/04: Move from service worker to event page
This is an automated email from the git hooks/post-receive script.
cohosh pushed a commit to branch i29
in repository pluggable-transports/snowflake-webext.
commit 9021607de477dfab8a767a4d49c61ad91eb60594
Author: Cecylia Bocovich <cohosh@xxxxxxxxxxxxxx>
AuthorDate: Wed Aug 17 16:22:30 2022 -0400
Move from service worker to event page
Mozilla has decided to allow the use of non-persistent event pages
in the move to V3 in an attempt to preserve functionality:
https://blog.mozilla.org/addons/2022/05/18/manifest-v3-in-firefox-recap-next-steps/
This allows us to call the WebRTC API, but we still may have to contend
with the persistence issue, as our code relies on persistence to keep
polling the broker.
---
webext/manifest_base.json | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/webext/manifest_base.json b/webext/manifest_base.json
index 6d7d714..d9080fb 100644
--- a/webext/manifest_base.json
+++ b/webext/manifest_base.json
@@ -9,7 +9,9 @@
"96": "assets/toolbar-on-96.png"
},
"background": {
- "service_worker": "snowflake.js"
+ "scripts": [
+ "snowflake.js"
+ ]
},
"action": {
"default_icon": {
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits