HomePhabricator
Diffusion Comm 5e8770bd0377

[web-db] add Shared Worker config

Description

[web-db] add Shared Worker config

Summary: Adding config and file for shared worker.

Test Plan:
Run this code:

const webDbWorker = new SharedWorker('/worker/webDatabase');
webDbWorker.port.onmessage = function (e) {
  console.log('message from worker: ', e.data);
};
webDbWorker.port.postMessage('hello there from main thread');

and check results in browser, desktop and shared worker consoles.

Reviewers: michal, tomek

Reviewed By: michal, tomek

Subscribers: ashoat, atul

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

Details

Provenance
kamilAuthored on Feb 28 2023, 10:43 AM
Reviewer
michal
Differential Revision
D6987: [web-db] add Shared Worker config
Parents
rCOMMe6395952c5fc: [lib] Don't mention GENESIS in chat creation notifs
Branches
Unknown
Tags
Unknown