[w3c/ServiceWorker] Do not remove the race response map entry in Lookup Race Response (PR #1807)

This change is based on the discussion in https://github.com/whatwg/fetch/pull/1737. We don't have to remove the entry from the race response map in the lookup-race-response-algorithm, as we don't want to limit de-deprecating the fetch(e.request) call once triggered in the fetch handler. fetch(e.request) can be called multiple times in one fetch handler.

Actually this removal is redundant, because the map entry is removed in [the step 20 of the Create Fetch Event and Dispatch](https://w3c.github.io/ServiceWorker/#ref-for-serviceworkerglobalscope-race-response-map%E2%91%A1:~:text=If%20activeWorker%E2%80%99s%20global%20object%E2%80%99s%20race%20response%20map%5Brequest%5D%20exists%2C%20remove%20activeWorker%E2%80%99s%20global%20object%E2%80%99s%20race%20response%20map%5Brequest%5D.) anyway, this ensures that the added entry is removed.


<!--
    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/sisidovski/ServiceWorker/pull/1807.html" title="Last updated on Nov 20, 2025, 8:08 AM UTC (093a36c)">Preview</a> | <a href="https://pr-preview.s3.amazonaws.com/w3c/ServiceWorker/1807/d3e4e3b...sisidovski:093a36c.html" title="Last updated on Nov 20, 2025, 8:08 AM UTC (093a36c)">Diff</a>
You can view, comment on, or merge this pull request online at:

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

-- Commit Summary --

  * Do not remove the race response map entry in Lookup Race Response

-- File Changes --

    M index.bs (1)

-- Patch Links --

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

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

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

Received on Thursday, 20 November 2025 08:09:26 UTC