You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Let <var>type</var> be lowest common ancestor interface of the types
1755
-
referenced in <var>types</var>.
1754
+
Let <var>types</var> be an empty set.
1755
+
1756
+
1757
+
1758
+
<li>
1759
+
For each <var>key</var> in <var>options</var>:
1760
+
1761
+
1762
+
<ol>
1763
+
1764
+
<li>
1765
+
Let <var>interface</var> be the interface whose name is
1766
+
<var>key</var>, or <code>null</code> if no interface’s name
1767
+
matches.
1768
+
1769
+
1770
+
1771
+
<li>
1772
+
If <var>interface</var> is not <code>null</code>, insert
1773
+
<var>interface</var> into <var>possible types</var>.
1774
+
1775
+
1776
+
1777
+
</ol>
1778
+
1779
+
1780
+
1781
+
1782
+
<li>
1783
+
Let <var>type</var> be the lowest common ancestor interface of the
1784
+
interfaces contained in <var>types</var>.
1756
1785
1757
1786
1758
-
<pclass="issue" id="issue-6005a2a4"><aclass="self-link"href="#issue-6005a2a4"></a> This is terribly hand-wavey. The intent is
1759
-
clear, but I need to do the work to walk through the list of DOMStrings
1760
-
and convert them to interfaces and etc. Busywork for later. <ahref="https://github.com/w3c/webappsec/issues/289"><https://github.com/w3c/webappsec/issues/289></a></p>
1787
+
<pclass="note" role="note">Note: That is, given a set containing <codeclass="idl"><adata-link-type="idl"href="#passwordcredential">PasswordCredential</a></code> and
1788
+
<codeclass="idl"><adata-link-type="idl" href="#federatedcredential">FederatedCredential</a></code>, <var>type</var> will be
<p>This algorithm accepts an <adata-link-type="dfn" href="https://tools.ietf.org/html/rfc6454#section-3.2">origin</a> (<var>origin</var>), a sequence of
2141
+
<p>This algorithm accepts an <adata-link-type="dfn" href="https://tools.ietf.org/html/rfc6454#section-3.2">origin</a> (<var>origin</var>), a set of
2107
2142
type names (<var>types</var>) and an <codeclass="idl"><adata-link-type="idl" href="#dictdef-credentialrequestoptions">CredentialRequestOptions</a></code> dictionary
2108
2143
(<var>options</var>), and returns either a single <codeclass="idl"><adata-link-type="idl" href="#originboundcredential">OriginBoundCredential</a></code>
2109
2144
object <strong>if and only if</strong> one can be provided without user
<p>This algorithm accepts an <adata-link-type="dfn" href="https://tools.ietf.org/html/rfc6454#section-3.2">origin</a> (<var>origin</var>), a sequence of
2205
+
<p>This algorithm accepts an <adata-link-type="dfn" href="https://tools.ietf.org/html/rfc6454#section-3.2">origin</a> (<var>origin</var>), a set of
2171
2206
type names (<var>types</var>) and an <codeclass="idl"><adata-link-type="idl" href="#dictdef-credentialrequestoptions">CredentialRequestOptions</a></code> dictionary
2172
2207
(<var>options</var>), and returns either a single <codeclass="idl"><adata-link-type="idl" href="#originboundcredential">OriginBoundCredential</a></code>
2173
2208
object, or <code>null</code> if none can be provided.</p>
<divclass="issue"> Monkey-patching! Hooray! Talk with Anne, et al.<ahref="#issue-020f94b2"> ↵ </a></div>
3648
3683
<divclass="issue"> Currently, we’re not protecting requests with opaque bodies from
3649
3684
Service Worker interception. Should we?<ahref="#issue-be0db764"> ↵ </a></div>
3650
-
<divclass="issue"> This is terribly hand-wavey. The intent is
3651
-
clear, but I need to do the work to walk through the list of DOMStrings
3652
-
and convert them to interfaces and etc. Busywork for later. <ahref="https://github.com/w3c/webappsec/issues/289"><https://github.com/w3c/webappsec/issues/289></a><ahref="#issue-6005a2a4"> ↵ </a></div>
3653
3685
<divclass="issue"> Add some thoughts here about when and how the API
3654
3686
should be used, especially with regard to <codeclass="idl"><adata-link-type="idl" href="#dom-credentialrequestoptions-suppressui">suppressUI</a></code>. <ahref="https://github.com/w3c/webappsec/issues/290"><https://github.com/w3c/webappsec/issues/290></a><ahref="#issue-e1d9f1af"> ↵ </a></div>
0 commit comments