Skip to content

Commit 2015d4b

Browse files
authored
Merge branch 'microsoft:main' into comments/webassembly
2 parents b2dcdf3 + 7fe6559 commit 2015d4b

File tree

4 files changed

+108
-15
lines changed

4 files changed

+108
-15
lines changed

baselines/dom.generated.d.ts

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,12 @@ interface Algorithm {
5252
name: string;
5353
}
5454

55+
interface AllAcceptedCredentialsOptions {
56+
allAcceptedCredentialIds: Base64URLString[];
57+
rpId: string;
58+
userId: Base64URLString;
59+
}
60+
5561
interface AnalyserOptions extends AudioNodeOptions {
5662
fftSize?: number;
5763
maxDecibels?: number;
@@ -462,6 +468,13 @@ interface CryptoKeyPair {
462468
publicKey: CryptoKey;
463469
}
464470

471+
interface CurrentUserDetailsOptions {
472+
displayName: string;
473+
name: string;
474+
rpId: string;
475+
userId: Base64URLString;
476+
}
477+
465478
interface CustomEventInit<T = any> extends EventInit {
466479
detail?: T;
467480
}
@@ -2385,6 +2398,11 @@ interface UnderlyingSource<R = any> {
23852398
type?: ReadableStreamType;
23862399
}
23872400

2401+
interface UnknownCredentialOptions {
2402+
credentialId: Base64URLString;
2403+
rpId: string;
2404+
}
2405+
23882406
interface ValidityStateFlags {
23892407
badInput?: boolean;
23902408
customError?: boolean;
@@ -24568,6 +24586,24 @@ declare var PublicKeyCredential: {
2456824586
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PublicKeyCredential/parseRequestOptionsFromJSON_static)
2456924587
*/
2457024588
parseRequestOptionsFromJSON(options: PublicKeyCredentialRequestOptionsJSON): PublicKeyCredentialRequestOptions;
24589+
/**
24590+
* The **`signalAllAcceptedCredentials()`** static method of the PublicKeyCredential interface signals to the authenticator all of the valid credential IDs that the relying party (RP) server still holds for a particular user.
24591+
*
24592+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PublicKeyCredential/signalAllAcceptedCredentials_static)
24593+
*/
24594+
signalAllAcceptedCredentials(options: AllAcceptedCredentialsOptions): Promise<void>;
24595+
/**
24596+
* The **`signalCurrentUserDetails()`** static method of the PublicKeyCredential interface signals to the authenticator that a particular user has updated their user name and/or display name on the relying party (RP) server.
24597+
*
24598+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PublicKeyCredential/signalCurrentUserDetails_static)
24599+
*/
24600+
signalCurrentUserDetails(options: CurrentUserDetailsOptions): Promise<void>;
24601+
/**
24602+
* The **`signalUnknownCredential()`** static method of the PublicKeyCredential interface signals to the authenticator that a credential ID was not recognized by the relying party (RP) server.
24603+
*
24604+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PublicKeyCredential/signalUnknownCredential_static)
24605+
*/
24606+
signalUnknownCredential(options: UnknownCredentialOptions): Promise<void>;
2457124607
};
2457224608

2457324609
/**

baselines/ts5.5/dom.generated.d.ts

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,12 @@ interface Algorithm {
5252
name: string;
5353
}
5454

55+
interface AllAcceptedCredentialsOptions {
56+
allAcceptedCredentialIds: Base64URLString[];
57+
rpId: string;
58+
userId: Base64URLString;
59+
}
60+
5561
interface AnalyserOptions extends AudioNodeOptions {
5662
fftSize?: number;
5763
maxDecibels?: number;
@@ -462,6 +468,13 @@ interface CryptoKeyPair {
462468
publicKey: CryptoKey;
463469
}
464470

471+
interface CurrentUserDetailsOptions {
472+
displayName: string;
473+
name: string;
474+
rpId: string;
475+
userId: Base64URLString;
476+
}
477+
465478
interface CustomEventInit<T = any> extends EventInit {
466479
detail?: T;
467480
}
@@ -2385,6 +2398,11 @@ interface UnderlyingSource<R = any> {
23852398
type?: ReadableStreamType;
23862399
}
23872400

2401+
interface UnknownCredentialOptions {
2402+
credentialId: Base64URLString;
2403+
rpId: string;
2404+
}
2405+
23882406
interface ValidityStateFlags {
23892407
badInput?: boolean;
23902408
customError?: boolean;
@@ -24547,6 +24565,24 @@ declare var PublicKeyCredential: {
2454724565
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PublicKeyCredential/parseRequestOptionsFromJSON_static)
2454824566
*/
2454924567
parseRequestOptionsFromJSON(options: PublicKeyCredentialRequestOptionsJSON): PublicKeyCredentialRequestOptions;
24568+
/**
24569+
* The **`signalAllAcceptedCredentials()`** static method of the PublicKeyCredential interface signals to the authenticator all of the valid credential IDs that the relying party (RP) server still holds for a particular user.
24570+
*
24571+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PublicKeyCredential/signalAllAcceptedCredentials_static)
24572+
*/
24573+
signalAllAcceptedCredentials(options: AllAcceptedCredentialsOptions): Promise<void>;
24574+
/**
24575+
* The **`signalCurrentUserDetails()`** static method of the PublicKeyCredential interface signals to the authenticator that a particular user has updated their user name and/or display name on the relying party (RP) server.
24576+
*
24577+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PublicKeyCredential/signalCurrentUserDetails_static)
24578+
*/
24579+
signalCurrentUserDetails(options: CurrentUserDetailsOptions): Promise<void>;
24580+
/**
24581+
* The **`signalUnknownCredential()`** static method of the PublicKeyCredential interface signals to the authenticator that a credential ID was not recognized by the relying party (RP) server.
24582+
*
24583+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PublicKeyCredential/signalUnknownCredential_static)
24584+
*/
24585+
signalUnknownCredential(options: UnknownCredentialOptions): Promise<void>;
2455024586
};
2455124587

2455224588
/**

baselines/ts5.6/dom.generated.d.ts

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,12 @@ interface Algorithm {
5252
name: string;
5353
}
5454

55+
interface AllAcceptedCredentialsOptions {
56+
allAcceptedCredentialIds: Base64URLString[];
57+
rpId: string;
58+
userId: Base64URLString;
59+
}
60+
5561
interface AnalyserOptions extends AudioNodeOptions {
5662
fftSize?: number;
5763
maxDecibels?: number;
@@ -462,6 +468,13 @@ interface CryptoKeyPair {
462468
publicKey: CryptoKey;
463469
}
464470

471+
interface CurrentUserDetailsOptions {
472+
displayName: string;
473+
name: string;
474+
rpId: string;
475+
userId: Base64URLString;
476+
}
477+
465478
interface CustomEventInit<T = any> extends EventInit {
466479
detail?: T;
467480
}
@@ -2385,6 +2398,11 @@ interface UnderlyingSource<R = any> {
23852398
type?: ReadableStreamType;
23862399
}
23872400

2401+
interface UnknownCredentialOptions {
2402+
credentialId: Base64URLString;
2403+
rpId: string;
2404+
}
2405+
23882406
interface ValidityStateFlags {
23892407
badInput?: boolean;
23902408
customError?: boolean;
@@ -24568,6 +24586,24 @@ declare var PublicKeyCredential: {
2456824586
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PublicKeyCredential/parseRequestOptionsFromJSON_static)
2456924587
*/
2457024588
parseRequestOptionsFromJSON(options: PublicKeyCredentialRequestOptionsJSON): PublicKeyCredentialRequestOptions;
24589+
/**
24590+
* The **`signalAllAcceptedCredentials()`** static method of the PublicKeyCredential interface signals to the authenticator all of the valid credential IDs that the relying party (RP) server still holds for a particular user.
24591+
*
24592+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PublicKeyCredential/signalAllAcceptedCredentials_static)
24593+
*/
24594+
signalAllAcceptedCredentials(options: AllAcceptedCredentialsOptions): Promise<void>;
24595+
/**
24596+
* The **`signalCurrentUserDetails()`** static method of the PublicKeyCredential interface signals to the authenticator that a particular user has updated their user name and/or display name on the relying party (RP) server.
24597+
*
24598+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PublicKeyCredential/signalCurrentUserDetails_static)
24599+
*/
24600+
signalCurrentUserDetails(options: CurrentUserDetailsOptions): Promise<void>;
24601+
/**
24602+
* The **`signalUnknownCredential()`** static method of the PublicKeyCredential interface signals to the authenticator that a credential ID was not recognized by the relying party (RP) server.
24603+
*
24604+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PublicKeyCredential/signalUnknownCredential_static)
24605+
*/
24606+
signalUnknownCredential(options: UnknownCredentialOptions): Promise<void>;
2457124607
};
2457224608

2457324609
/**

inputfiles/overridingTypes.jsonc

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -3827,21 +3827,6 @@
38273827
},
38283828
"WGSLLanguageFeatures": {
38293829
"exposed": ""
3830-
},
3831-
"PublicKeyCredential": {
3832-
"methods": {
3833-
"method": {
3834-
"signalAllAcceptedCredentials": {
3835-
"exposed": ""
3836-
},
3837-
"signalCurrentUserDetails": {
3838-
"exposed": ""
3839-
},
3840-
"signalUnknownCredential": {
3841-
"exposed": ""
3842-
}
3843-
}
3844-
}
38453830
}
38463831
}
38473832
},

0 commit comments

Comments
 (0)