- From: Noam Rosenthal <notifications@github.com>
- Date: Tue, 26 Sep 2023 23:18:18 -0700
- To: whatwg/fetch <fetch@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Wednesday, 27 September 2023 06:18:23 UTC
@noamr commented on this pull request. > + throw a {{NotAllowedError}}. + + <p class=note>User-agents can, for example, decide that deferred fetching is not allowed for + subframes or gated behind some permission. + </li> + + <li><p>Let <var>requestObject</var> be the result of invoking the initial value of {{Request}} as + constructor with <var>input</var> and <var>init</var> as arguments. This may throw an exception. + + <li><p>If <var>requestObject</var>'s <a for=Request>signal</a> is <a for=AbortSignal>aborted</a>, + then throw <a for=Request>signal</a>'s <a for=AbortSignal>abort reason</a>. + + <li><p>Let <var>request</var> be <var>requestObject</var>'s <a for=Request>request</a>. + + <li><p>If <var>request</var>'s <a for=request>URL</a>'s <a for=url>scheme</a> is not an + <a>HTTP(S) scheme</a> then throw a {{TypeError}}. Look at the next line, we allow either https or localhost ("potentially trustworthy url") -- Reply to this email directly or view it on GitHub: https://github.com/whatwg/fetch/pull/1647#discussion_r1338092289 You are receiving this because you are subscribed to this thread. Message ID: <whatwg/fetch/pull/1647/review/1645676011@github.com>
Received on Wednesday, 27 September 2023 06:18:23 UTC