gecko-dev/dom/tests/browser/perfmetrics/shared_worker.js

8 строки
130 B
JavaScript

let onconnect = function(e) {
var port = e.ports[0];
port.onmessage = function(e) {
port.postMessage(e.data[0]);
};
};