[w3c/ServiceWorker] Fix: Ensure timingInfo is returned on network fallback if SW static routing API is used (PR #1774)

According to the [explainer](https://github.com/WICG/service-worker-static-routing-api/blob/main/resource-timing-api.md#correspondence-of-the-matched-source-type-and-the-actual-source-type), the `worker final router source` should be `'network'` for a network fallback.  The |timingInfo| is returned to make that happen.


<!--
    This comment and the below content is programmatically generated.
    You may add a comma-separated list of anchors you'd like a
    direct link to below (e.g. #idl-serializers, #idl-sequence):

    Don't remove this comment or modify anything below this line.
    If you don't want a preview generated for this pull request,
    just replace the whole of this comment's content by "no preview"
    and remove what's below.
-->
***
<a href="https://pr-preview.s3.amazonaws.com/yoshisatoyanagisawa/ServiceWorker/pull/1774.html" title="Last updated on May 30, 2025, 3:32 AM UTC (2f9c0ce)">Preview</a> | <a href="https://pr-preview.s3.amazonaws.com/w3c/ServiceWorker/1774/2c732f5...yoshisatoyanagisawa:2f9c0ce.html" title="Last updated on May 30, 2025, 3:32 AM UTC (2f9c0ce)">Diff</a>
You can view, comment on, or merge this pull request online at:

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

-- Commit Summary --

  * Return timingInfo on fetch handler failure if static routing
  * May be simplify the procedure

-- File Changes --

    M docs/index.bs (8)

-- Patch Links --

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

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

Message ID: <w3c/ServiceWorker/pull/1774@github.com>

Received on Friday, 30 May 2025 03:33:14 UTC