Re: [whatwg/fetch] Add abstractions for creating Request and Response objects (#1157)

@jakearchibald commented on this pull request.



> @@ -5938,6 +5938,25 @@ initially a new {{AbortSignal}} object.
 
 <hr>
 
+<p>To
+<dfn export lt="create a Request object|creating a Request object">create a <code>Request</code> object</dfn>,
+given a <a for=/>request</a> <var>request</var> and header guard <var>guard</var>, run these steps:
+<!-- Still need to deal with Realms; maybe create AbortSignal explicitly? -->

I think it's fine for the realm to be a parameter. I don't know if there's a way to determine a sensible default.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/fetch/pull/1157#pullrequestreview-580358040

Received on Monday, 1 February 2021 13:37:34 UTC