- From: Noam Rosenthal <notifications@github.com>
- Date: Tue, 26 Sep 2023 00:23:12 -0700
- To: whatwg/fetch <fetch@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Tuesday, 26 September 2023 07:23:18 UTC
@noamr commented on this pull request. > +<dl> + <dt><dfn export for="deferred fetch record">request</dfn> + <dd>A <a for=/>request</a>. + + <dt><dfn export for="deferred fetch record">inactivity delay</dfn> (default null) + <dd>Null or a <a>duration</a>. + + <dt><dfn export for="deferred fetch record">invoke state</dfn> (default "<code>deferred</code>") + <dd> + <p>"<code>deferred</code>", "<code>scheduled</code>", "<code>terminated</code>", + "<code>aborted</code>", or "<code>activated</code>". + + <p class=note>This value can be modified <a>in parallel</a>. There could be a race condition where + the <code>Document</code> object's <a for=/>event loop</a> might change it to + "<code>deferred</code>" at the same time that it is changed to "<code>activated</code>". UAs can + mitigate this race condition in an <a>implementation-defined</a> manner. I revised the spec based on our conversation, so now there isn't really a race in this way. The worst that could happen is that you'd get `activated === false` right at the moment where the fetch was started and abort it. -- Reply to this email directly or view it on GitHub: https://github.com/whatwg/fetch/pull/1647#discussion_r1336744896 You are receiving this because you are subscribed to this thread. Message ID: <whatwg/fetch/pull/1647/review/1643532335@github.com>
Received on Tuesday, 26 September 2023 07:23:18 UTC