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

> @@ -4108,9 +4136,18 @@ <h3 id="request-class"><span class="secno">6.3 </span>Request class</h3>
>   <code title="">credentials</code> member if it is present, and
>   <var>fallbackCredentials</var> otherwise.
>  
> - <li><p>If <var>credentials</var> is non-null, set <var>request</var>'s
> - <a href="#concept-request-credentials-mode" title="concept-request-credentials-mode">credentials mode</a> to
> - <var>credentials</var>.
> + <li><p>If <var>credentials</var> is non-null:
> +   
> +   <ol>
> +     <li>If <var>credentials</var> is a
> +     <a href="https://w3c.github.io/webappsec-credential-management/#interfaces-credential-types-passwordcredential">PasswordCredential</a>,
> +     set <var>request</var>'s <a href="#concept-request-credentials-mode" title="concept-request-credentials-mode">credentials mode</a> to
> +     "<code title="">attached-credential</code>", and <var>request</var>'s
> +     <a href="#concept-request-attached-credential" title="concept-request-attached-credential">attached credential</a> to

@annevk: Are you saying that you'd prefer for Fetch to retain responsibility for the Credential comparison? Or that you're fine with the other spec being responsible for the comparison that's being triggered at the network layer rather than the object creation layer?

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

Received on Thursday, 10 March 2016 08:50:37 UTC