Re: [whatwg/fetch] Propagate origin and URL list through the request constructor. (Fixes #1321, #1335) (PR #1345)

@wanderview commented on this pull request.



>     <li><p>Set <var>request</var>'s <a for=request>referrer</a> to
    "<code>client</code>"
 
    <li><p>Set <var>request</var>'s <a for=request>referrer policy</a> to the empty string.
+
+   <li><p>Set <var>request</var>'s <a for=request>URL list</a> to an empty
+   <a for=/>list</a>.
+
+   <li><p><a for=list>Append</a> <var>request</var>'s <a for=request>URL</a> to
+   <var>request</var>'s <a for=request>URL list</a>.

I handled this by storing the current URL in the request's URL and then appending to the new list.

-- 
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/1345#discussion_r756403448

Received on Wednesday, 24 November 2021 20:31:55 UTC