Skip to content

Commit

Permalink
use new mixin IDL syntax (#119)
Browse files Browse the repository at this point in the history
  • Loading branch information
saschanaz authored and mikewest committed May 21, 2018
1 parent ad41ec2 commit 6851e69
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions index.src.html
Original file line number Diff line number Diff line change
Expand Up @@ -365,8 +365,8 @@ <h1>Credential Management Level 1</h1>
mechanism in the [=credential chooser=] by providing a friendly name and icon:

<pre class="idl">
[NoInterfaceObject, SecureContext]
interface CredentialUserData {
[SecureContext]
interface mixin CredentialUserData {
readonly attribute USVString name;
readonly attribute USVString iconURL;
};
Expand Down Expand Up @@ -1116,7 +1116,7 @@ <h4 id="algorithm-prevent-silent-access" algorithm>Prevent Silent Access</h4>
interface PasswordCredential : Credential {
readonly attribute USVString password;
};
PasswordCredential implements CredentialUserData;
PasswordCredential includes CredentialUserData;

partial dictionary CredentialRequestOptions {
boolean password = false;
Expand Down Expand Up @@ -1444,7 +1444,7 @@ <h4 algorithm id="passwordcredential-matching">
readonly attribute USVString provider;
readonly attribute DOMString? protocol;
};
FederatedCredential implements CredentialUserData;
FederatedCredential includes CredentialUserData;

dictionary FederatedCredentialRequestOptions {
sequence&lt;USVString&gt; providers;
Expand Down

0 comments on commit 6851e69

Please sign in to comment.