Re: [fetch] Integrating support for PasswordCredential objects. (#237)

> @@ -2490,6 +2496,25 @@ <h4 id="should-response-to-request-be-blocked-due-to-nosniff?"><dfn title="shoul
>  
>   <li><p>Let <var>contentLengthValue</var> be null.
>  
> + <li>
> +   <p>If <var>httpRequest</var>'s <span title=concept-request-attached-credential>attached
> +   credential</span> is <em>not</em> null, run these substeps:
> +
> +   <ol>
> +     <li>If <var>httpRequest</var>'s <span title=concept-request-body>body</span> is <em>not</em>
> +     null, return a <span title=concept-network-error>network error</span>.

I don't think it can, but it's not clear how to write an `ASSERT(x)` in Fetch-code. :)

---
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/fetch/pull/237/files#r55524868

Received on Wednesday, 9 March 2016 14:27:20 UTC