summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/resource-timing/resources/shared-worker.js
blob: f3ef3feb964cb73784c8ec2e31505dfc7aa67a62 (plain)
1
2
3
self.onconnect = e => {
  e.ports[0].postMessage(performance.timeOrigin);
}