Re: [whatwg/fetch] minor fixes (#1290)

@annevk commented on this pull request.

Thanks. After some further consideration I suggest either changing or removing the second change as it's currently redundant with Web IDL requirements.

> @@ -5993,7 +5993,7 @@ new Headers(meta2);
   <var>object</var>:
 
   <ol>
-   <li><p>If <var>header</var> does not contain exactly two items, then <a>throw</a> a
+   <li><p>If <var>header</var> is not a <a>sequence</a> which contains exactly two items, then <a>throw</a> a

I looked at this again to be sure and it doesn't seem to be needed. IDL wouldn't allow this if it were not a sequence. I would be okay with adding a step before this one that asserts it's a sequence though.

-- 
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/1290#pullrequestreview-742697481

Received on Tuesday, 31 August 2021 13:05:02 UTC