HomePhabricator
Diffusion Comm 3cea79e3166f

Expose olm WASM to push notif service-worker on web.

Description

Expose olm WASM to push notif service-worker on web.

Summary: This differential enables olm usage in notifications service-worker on web.

Test Plan:

  1. Apply this diff (in order to actually initialize olm with WASM file since eventually it will be initialised when receiving notification in next diff): https://gist.github.com/marcinwasowicz/20ee184547487d05aa5421af8c77b107
  2. Open web app.
  3. In new tab open chrome://inspect/#workers
  4. Go to Service Workers then worker/notif and finally click inspect. This should open a console.
  5. Finally reload web app and ensure that no error is logged.

Repeat for prod and dev

Reviewers: kamil, michal

Reviewed By: kamil

Subscribers: ashoat, tomek, wyilio

Differential Revision: https://phab.comm.dev/D9633

Details

Provenance
marcinAuthored on Oct 30 2023, 8:57 AM
Reviewer
kamil
Differential Revision
D9633: Expose olm WASM to push notif service-worker on web.
Parents
rCOMM4036d06dd2a6: Encrypt notifications for web clients supporting decryption
Branches
Unknown
Tags
Unknown