- From: fergald <notifications@github.com>
- Date: Fri, 01 Sep 2023 02:17:35 -0700
- To: whatwg/fetch <fetch@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Friday, 1 September 2023 09:17:41 UTC
@fergald commented on this pull request. > @@ -8449,6 +8597,60 @@ with a <var>promise</var>, <var>request</var>, <var>responseObject</var>, and an </div> +<h3 id=fetch-later-method>FetchLater method</h3> + +<pre class=idl> + +dictionary DeferredRequestInit : RequestInit { + DOMHighResTimeStamp backgroundTimeout; This is unfortunate but it seems like we should not *send* while paused or we risk breaking code like ``` if (!fetchLaterResult.activated) { ... abortController.abort(); ... } ``` So there's not much point in starting a timer on pause. I guess it doesn't matter a whole lot either way. If a page cares about the time the beacon was sent, it will have its own timer running in JS. Either our timer sends it or their timer sends it. -- Reply to this email directly or view it on GitHub: https://github.com/whatwg/fetch/pull/1647#discussion_r1312789289 You are receiving this because you are subscribed to this thread. Message ID: <whatwg/fetch/pull/1647/review/1606585146@github.com>
Received on Friday, 1 September 2023 09:17:41 UTC