- From: Marijn Kruisselbrink <notifications@github.com>
- Date: Wed, 21 Feb 2024 13:13:44 -0800
- To: w3c/ServiceWorker <ServiceWorker@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Wednesday, 21 February 2024 21:13:49 UTC
@mkruisselbrink commented on this pull request. > + 1. [=fetch controller/Abort=] |preloadFetchController| with |deserializedError|. + 1. Else, resolve |preloadResponse| with undefined. + 1. Return the result of [=Create Fetch Event and Dispatch=] with |request|, |registration|, |useHighResPerformanceTimers|, |timingInfo|, |workerRealm|, |reservedClient|, |preloadResponse|, and |raceResponse|. + </section> + + <section algorithm> + <h3 id="create-fetch-event-and-dispatch-algorithm"><dfn>Create Fetch Event and Dispatch</dfn></h3> + : Input + :: |request|, a [=/request=] + :: |registration|, a [=/service worker registration=] + :: |useHighResPerformanceTimers|, a boolean + :: |timingInfo|, a [=service worker timing info=] + :: |workerRealm|, a [=relevant realm=] of the [=service worker/global object=] + :: |reservedClient|, a [=request/reserved client=] + :: |preloadResponse|, a [=promise=] + :: |raceResponse|, a [=race response=] nit: add "or null", since sometimes you pass in null (and handle null) -- Reply to this email directly or view it on GitHub: https://github.com/w3c/ServiceWorker/pull/1701#pullrequestreview-1894424561 You are receiving this because you are subscribed to this thread. Message ID: <w3c/ServiceWorker/pull/1701/review/1894424561@github.com>
Received on Wednesday, 21 February 2024 21:13:49 UTC