[w3c/ServiceWorker] Redesign Service-Worker-Allowed header extraction (PR #1830)

This change updates the Service-Worker-Allowed header handling to use modern Fetch primitives. Specifically:
1. Replaced 'extracting header list values' with 'header list/get'.
2. Added an explicit 'isomorphic decode' step for the header value.
3. Moved the failure check to follow the URL parsing step.

Fixes #1360


<!--
    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/1830.html" title="Last updated on Jul 3, 2026, 3:03 AM UTC (5259f50)">Preview</a> | <a href="https://pr-preview.s3.amazonaws.com/w3c/ServiceWorker/1830/2fd367a...yoshisatoyanagisawa:5259f50.html" title="Last updated on Jul 3, 2026, 3:03 AM UTC (5259f50)">Diff</a>
You can view, comment on, or merge this pull request online at:

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

-- Commit Summary --

  * Redesign Service-Worker-Allowed header extraction

-- File Changes --

    M index.bs (7)

-- Patch Links --

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

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

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

Received on Friday, 3 July 2026 03:03:41 UTC