mirror of
https://github.com/electron/electron.git
synced 2026-01-14 01:48:14 -05:00
6 lines
185 B
JavaScript
6 lines
185 B
JavaScript
self.onconnect = function (event) {
|
|
const port = event.ports[0];
|
|
port.start();
|
|
port.postMessage([typeof process, typeof setImmediate, typeof global, typeof Buffer].join(' '));
|
|
};
|