electron/spec/fixtures/api/shared-worker/shared-worker2.js

5 lines
91 B
JavaScript
Raw Permalink Normal View History

self.onconnect = function (e) {
2020-03-20 14:28:31 -06:00
const port = e.ports[0];
port.postMessage('ready');
};