[w3c/ServiceWorker] Maintain timing for worker start/ready, for navigation requests. (#1575)

The timing when worker is started or ready are web-accessible via
the navigation timing API (https://w3c.github.io/navigation-timing/).

`workerStart` is specified to be the time when the service worker is run.

In Chromium and Gecko, `worker ready time` (exposed as `fetchStart`)
is set to the right before the time when the Fetch event can be
dispatched for the newly created worker.

In preparation for https://github.com/w3c/navigation-timing/issues/136
You can view, comment on, or merge this pull request online at:

  https://github.com/w3c/ServiceWorker/pull/1575

-- Commit Summary --

  * Maintain timing for worker start/ready, for navigation requests.

-- File Changes --

    M docs/index.bs (9)

-- Patch Links --

https://github.com/w3c/ServiceWorker/pull/1575.patch
https://github.com/w3c/ServiceWorker/pull/1575.diff

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/ServiceWorker/pull/1575

Received on Sunday, 28 March 2021 10:18:44 UTC