Skip to content

Commit

Permalink
Update bcd to 5.5.49 (#1792)
Browse files Browse the repository at this point in the history
Co-authored-by: saschanaz <[email protected]>
  • Loading branch information
saschanaz and saschanaz authored Aug 28, 2024
1 parent 56333b3 commit d4a482f
Show file tree
Hide file tree
Showing 4 changed files with 147 additions and 14 deletions.
71 changes: 67 additions & 4 deletions baselines/dom.generated.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,9 @@ interface AuthenticationExtensionsClientInputs {
prf?: AuthenticationExtensionsPRFInputs;
}

interface AuthenticationExtensionsClientInputsJSON {
}

interface AuthenticationExtensionsClientOutputs {
appid?: boolean;
credProps?: CredentialPropertiesOutput;
Expand Down Expand Up @@ -1294,12 +1297,31 @@ interface PublicKeyCredentialCreationOptions {
user: PublicKeyCredentialUserEntity;
}

interface PublicKeyCredentialCreationOptionsJSON {
attestation?: string;
authenticatorSelection?: AuthenticatorSelectionCriteria;
challenge: Base64URLString;
excludeCredentials?: PublicKeyCredentialDescriptorJSON[];
extensions?: AuthenticationExtensionsClientInputsJSON;
hints?: string[];
pubKeyCredParams: PublicKeyCredentialParameters[];
rp: PublicKeyCredentialRpEntity;
timeout?: number;
user: PublicKeyCredentialUserEntityJSON;
}

interface PublicKeyCredentialDescriptor {
id: BufferSource;
transports?: AuthenticatorTransport[];
type: PublicKeyCredentialType;
}

interface PublicKeyCredentialDescriptorJSON {
id: Base64URLString;
transports?: string[];
type: string;
}

interface PublicKeyCredentialEntity {
name: string;
}
Expand All @@ -1318,6 +1340,16 @@ interface PublicKeyCredentialRequestOptions {
userVerification?: UserVerificationRequirement;
}

interface PublicKeyCredentialRequestOptionsJSON {
allowCredentials?: PublicKeyCredentialDescriptorJSON[];
challenge: Base64URLString;
extensions?: AuthenticationExtensionsClientInputsJSON;
hints?: string[];
rpId?: string;
timeout?: number;
userVerification?: string;
}

interface PublicKeyCredentialRpEntity extends PublicKeyCredentialEntity {
id?: string;
}
Expand All @@ -1327,6 +1359,12 @@ interface PublicKeyCredentialUserEntity extends PublicKeyCredentialEntity {
id: BufferSource;
}

interface PublicKeyCredentialUserEntityJSON {
displayName: string;
id: Base64URLString;
name: string;
}

interface PushSubscriptionJSON {
endpoint?: string;
expirationTime?: EpochTimeStamp | null;
Expand Down Expand Up @@ -3494,6 +3532,7 @@ declare var CSSKeyframeRule: {
interface CSSKeyframesRule extends CSSRule {
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSKeyframesRule/cssRules) */
readonly cssRules: CSSRuleList;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSKeyframesRule/length) */
readonly length: number;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSKeyframesRule/name) */
name: string;
Expand Down Expand Up @@ -11108,11 +11147,23 @@ interface HTMLInputElement extends HTMLElement, PopoverInvokerElement {
readonly validationMessage: string;
/** Returns a ValidityState object that represents the validity states of an element. */
readonly validity: ValidityState;
/** Returns the value of the data at the cursor's current position. */
/**
* Returns the value of the data at the cursor's current position.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/value)
*/
value: string;
/** Returns a Date object representing the form control's value, if applicable; otherwise, returns null. Can be set, to change the value. Throws an "InvalidStateError" DOMException if the control isn't date- or time-based. */
/**
* Returns a Date object representing the form control's value, if applicable; otherwise, returns null. Can be set, to change the value. Throws an "InvalidStateError" DOMException if the control isn't date- or time-based.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/valueAsDate)
*/
valueAsDate: Date | null;
/** Returns the input field value as a number. */
/**
* Returns the input field value as a number.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/valueAsNumber)
*/
valueAsNumber: number;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/webkitEntries) */
readonly webkitEntries: ReadonlyArray<FileSystemEntry>;
Expand Down Expand Up @@ -14136,7 +14187,11 @@ declare var ImageBitmap: {

/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ImageBitmapRenderingContext) */
interface ImageBitmapRenderingContext {
/** Returns the canvas element that the context is bound to. */
/**
* Returns the canvas element that the context is bound to.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ImageBitmapRenderingContext/canvas)
*/
readonly canvas: HTMLCanvasElement | OffscreenCanvas;
/**
* Transfers the underlying bitmap data from imageBitmap to context, and the bitmap becomes the contents of the canvas element to which context is bound.
Expand Down Expand Up @@ -17723,6 +17778,8 @@ interface PublicKeyCredential extends Credential {
readonly response: AuthenticatorResponse;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/PublicKeyCredential/getClientExtensionResults) */
getClientExtensionResults(): AuthenticationExtensionsClientOutputs;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/PublicKeyCredential/toJSON) */
toJSON(): PublicKeyCredentialJSON;
}

declare var PublicKeyCredential: {
Expand All @@ -17732,6 +17789,10 @@ declare var PublicKeyCredential: {
isConditionalMediationAvailable(): Promise<boolean>;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/PublicKeyCredential/isUserVerifyingPlatformAuthenticatorAvailable_static) */
isUserVerifyingPlatformAuthenticatorAvailable(): Promise<boolean>;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/PublicKeyCredential/parseCreationOptionsFromJSON_static) */
parseCreationOptionsFromJSON(options: PublicKeyCredentialCreationOptionsJSON): PublicKeyCredentialCreationOptions;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/PublicKeyCredential/parseRequestOptionsFromJSON_static) */
parseRequestOptionsFromJSON(options: PublicKeyCredentialRequestOptionsJSON): PublicKeyCredentialRequestOptions;
};

/**
Expand Down Expand Up @@ -28139,6 +28200,7 @@ type AllowSharedBufferSource = ArrayBuffer | ArrayBufferView;
type AutoFill = AutoFillBase | `${OptionalPrefixToken<AutoFillSection>}${OptionalPrefixToken<AutoFillAddressKind>}${AutoFillField}${OptionalPostfixToken<AutoFillCredentialField>}`;
type AutoFillField = AutoFillNormalField | `${OptionalPrefixToken<AutoFillContactKind>}${AutoFillContactField}`;
type AutoFillSection = `section-${string}`;
type Base64URLString = string;
type BigInteger = Uint8Array;
type BlobPart = BufferSource | Blob | string;
type BodyInit = ReadableStream | XMLHttpRequestBodyInit;
Expand Down Expand Up @@ -28191,6 +28253,7 @@ type OnErrorEventHandler = OnErrorEventHandlerNonNull | null;
type OptionalPostfixToken<T extends string> = ` ${T}` | "";
type OptionalPrefixToken<T extends string> = `${T} ` | "";
type PerformanceEntryList = PerformanceEntry[];
type PublicKeyCredentialJSON = any;
type RTCRtpTransform = RTCRtpScriptTransform;
type ReadableStreamController<T> = ReadableStreamDefaultController<T> | ReadableByteStreamController;
type ReadableStreamReadResult<T> = ReadableStreamReadValueResult<T> | ReadableStreamReadDoneResult<T>;
Expand Down
71 changes: 67 additions & 4 deletions baselines/ts5.5/dom.generated.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,9 @@ interface AuthenticationExtensionsClientInputs {
prf?: AuthenticationExtensionsPRFInputs;
}

interface AuthenticationExtensionsClientInputsJSON {
}

interface AuthenticationExtensionsClientOutputs {
appid?: boolean;
credProps?: CredentialPropertiesOutput;
Expand Down Expand Up @@ -1294,12 +1297,31 @@ interface PublicKeyCredentialCreationOptions {
user: PublicKeyCredentialUserEntity;
}

interface PublicKeyCredentialCreationOptionsJSON {
attestation?: string;
authenticatorSelection?: AuthenticatorSelectionCriteria;
challenge: Base64URLString;
excludeCredentials?: PublicKeyCredentialDescriptorJSON[];
extensions?: AuthenticationExtensionsClientInputsJSON;
hints?: string[];
pubKeyCredParams: PublicKeyCredentialParameters[];
rp: PublicKeyCredentialRpEntity;
timeout?: number;
user: PublicKeyCredentialUserEntityJSON;
}

interface PublicKeyCredentialDescriptor {
id: BufferSource;
transports?: AuthenticatorTransport[];
type: PublicKeyCredentialType;
}

interface PublicKeyCredentialDescriptorJSON {
id: Base64URLString;
transports?: string[];
type: string;
}

interface PublicKeyCredentialEntity {
name: string;
}
Expand All @@ -1318,6 +1340,16 @@ interface PublicKeyCredentialRequestOptions {
userVerification?: UserVerificationRequirement;
}

interface PublicKeyCredentialRequestOptionsJSON {
allowCredentials?: PublicKeyCredentialDescriptorJSON[];
challenge: Base64URLString;
extensions?: AuthenticationExtensionsClientInputsJSON;
hints?: string[];
rpId?: string;
timeout?: number;
userVerification?: string;
}

interface PublicKeyCredentialRpEntity extends PublicKeyCredentialEntity {
id?: string;
}
Expand All @@ -1327,6 +1359,12 @@ interface PublicKeyCredentialUserEntity extends PublicKeyCredentialEntity {
id: BufferSource;
}

interface PublicKeyCredentialUserEntityJSON {
displayName: string;
id: Base64URLString;
name: string;
}

interface PushSubscriptionJSON {
endpoint?: string;
expirationTime?: EpochTimeStamp | null;
Expand Down Expand Up @@ -3494,6 +3532,7 @@ declare var CSSKeyframeRule: {
interface CSSKeyframesRule extends CSSRule {
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSKeyframesRule/cssRules) */
readonly cssRules: CSSRuleList;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSKeyframesRule/length) */
readonly length: number;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSKeyframesRule/name) */
name: string;
Expand Down Expand Up @@ -11108,11 +11147,23 @@ interface HTMLInputElement extends HTMLElement, PopoverInvokerElement {
readonly validationMessage: string;
/** Returns a ValidityState object that represents the validity states of an element. */
readonly validity: ValidityState;
/** Returns the value of the data at the cursor's current position. */
/**
* Returns the value of the data at the cursor's current position.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/value)
*/
value: string;
/** Returns a Date object representing the form control's value, if applicable; otherwise, returns null. Can be set, to change the value. Throws an "InvalidStateError" DOMException if the control isn't date- or time-based. */
/**
* Returns a Date object representing the form control's value, if applicable; otherwise, returns null. Can be set, to change the value. Throws an "InvalidStateError" DOMException if the control isn't date- or time-based.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/valueAsDate)
*/
valueAsDate: Date | null;
/** Returns the input field value as a number. */
/**
* Returns the input field value as a number.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/valueAsNumber)
*/
valueAsNumber: number;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/webkitEntries) */
readonly webkitEntries: ReadonlyArray<FileSystemEntry>;
Expand Down Expand Up @@ -14136,7 +14187,11 @@ declare var ImageBitmap: {

/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ImageBitmapRenderingContext) */
interface ImageBitmapRenderingContext {
/** Returns the canvas element that the context is bound to. */
/**
* Returns the canvas element that the context is bound to.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ImageBitmapRenderingContext/canvas)
*/
readonly canvas: HTMLCanvasElement | OffscreenCanvas;
/**
* Transfers the underlying bitmap data from imageBitmap to context, and the bitmap becomes the contents of the canvas element to which context is bound.
Expand Down Expand Up @@ -17723,6 +17778,8 @@ interface PublicKeyCredential extends Credential {
readonly response: AuthenticatorResponse;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/PublicKeyCredential/getClientExtensionResults) */
getClientExtensionResults(): AuthenticationExtensionsClientOutputs;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/PublicKeyCredential/toJSON) */
toJSON(): PublicKeyCredentialJSON;
}

declare var PublicKeyCredential: {
Expand All @@ -17732,6 +17789,10 @@ declare var PublicKeyCredential: {
isConditionalMediationAvailable(): Promise<boolean>;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/PublicKeyCredential/isUserVerifyingPlatformAuthenticatorAvailable_static) */
isUserVerifyingPlatformAuthenticatorAvailable(): Promise<boolean>;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/PublicKeyCredential/parseCreationOptionsFromJSON_static) */
parseCreationOptionsFromJSON(options: PublicKeyCredentialCreationOptionsJSON): PublicKeyCredentialCreationOptions;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/PublicKeyCredential/parseRequestOptionsFromJSON_static) */
parseRequestOptionsFromJSON(options: PublicKeyCredentialRequestOptionsJSON): PublicKeyCredentialRequestOptions;
};

/**
Expand Down Expand Up @@ -28139,6 +28200,7 @@ type AllowSharedBufferSource = ArrayBuffer | ArrayBufferView;
type AutoFill = AutoFillBase | `${OptionalPrefixToken<AutoFillSection>}${OptionalPrefixToken<AutoFillAddressKind>}${AutoFillField}${OptionalPostfixToken<AutoFillCredentialField>}`;
type AutoFillField = AutoFillNormalField | `${OptionalPrefixToken<AutoFillContactKind>}${AutoFillContactField}`;
type AutoFillSection = `section-${string}`;
type Base64URLString = string;
type BigInteger = Uint8Array;
type BlobPart = BufferSource | Blob | string;
type BodyInit = ReadableStream | XMLHttpRequestBodyInit;
Expand Down Expand Up @@ -28191,6 +28253,7 @@ type OnErrorEventHandler = OnErrorEventHandlerNonNull | null;
type OptionalPostfixToken<T extends string> = ` ${T}` | "";
type OptionalPrefixToken<T extends string> = `${T} ` | "";
type PerformanceEntryList = PerformanceEntry[];
type PublicKeyCredentialJSON = any;
type RTCRtpTransform = RTCRtpScriptTransform;
type ReadableStreamController<T> = ReadableStreamDefaultController<T> | ReadableByteStreamController;
type ReadableStreamReadResult<T> = ReadableStreamReadValueResult<T> | ReadableStreamReadDoneResult<T>;
Expand Down
13 changes: 10 additions & 3 deletions inputfiles/removedTypes.jsonc
Original file line number Diff line number Diff line change
Expand Up @@ -563,15 +563,22 @@
"PublicKeyCredentialCreationOptions": {
"members": {
"member": {
"attestationFormats": null, // No implementation as of 2023-09
"hints": null // No implementation as of 2023-09
"attestationFormats": null, // Blink only as of 2024-08
"hints": null // Blink only as of 2024-08
}
}
},
"PublicKeyCredentialCreationOptionsJSON": {
"members": {
"member": {
"attestationFormats": null // Gecko only as of 2024-08
}
}
},
"PublicKeyCredentialRequestOptions": {
"members": {
"member": {
"hints": null // // No implementation as of 2023-09
"hints": null // Blink only as of 2024-08
}
}
},
Expand Down
6 changes: 3 additions & 3 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit d4a482f

Please sign in to comment.