Re: [w3c/ServiceWorker] Less fragile |fetchController| termination check (PR #1780)

@domenic commented on this pull request.



>                        1. Set |raceFetchController| to the result of calling [=fetch=] given |request|, with [=fetch/processResponse=] set to the following steps given a [=/response=] |raceNetworkRequestResponse|:
+                          1. [=Abort when=] |fetchController|'s [=fetch controller/state=] is "<code>terminated</code>" or "<code>aborted</code>".

Use the "Run these steps, but abort when" and indentation pattern from https://infra.spec.whatwg.org/#example-conditional-abort

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

Message ID: <w3c/ServiceWorker/pull/1780/review/2934130825@github.com>

Received on Tuesday, 17 June 2025 04:55:01 UTC