diff options
Diffstat (limited to 'testing/web-platform/tests/resource-timing/resources/shared-worker.js')
-rw-r--r-- | testing/web-platform/tests/resource-timing/resources/shared-worker.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/testing/web-platform/tests/resource-timing/resources/shared-worker.js b/testing/web-platform/tests/resource-timing/resources/shared-worker.js new file mode 100644 index 0000000000..f3ef3feb96 --- /dev/null +++ b/testing/web-platform/tests/resource-timing/resources/shared-worker.js @@ -0,0 +1,3 @@ +self.onconnect = e => { + e.ports[0].postMessage(performance.timeOrigin); +}
\ No newline at end of file |