@@ -135,29 +135,21 @@ interface AudioWorkletNodeOptions extends AudioNodeOptions {
135135
136136interface AuthenticationExtensionsClientInputs {
137137 appid?: string;
138- authnSel?: AuthenticatorSelectionList;
139- exts?: boolean;
140- loc?: boolean;
141- txAuthGeneric?: txAuthGenericArg;
142- txAuthSimple?: string;
143- uvi?: boolean;
138+ appidExclude?: string;
139+ credProps?: boolean;
144140 uvm?: boolean;
145141}
146142
147143interface AuthenticationExtensionsClientOutputs {
148144 appid?: boolean;
149- authnSel?: boolean;
150- exts?: AuthenticationExtensionsSupported;
151- loc?: Coordinates;
152- txAuthGeneric?: ArrayBuffer;
153- txAuthSimple?: string;
154- uvi?: ArrayBuffer;
145+ credProps?: CredentialPropertiesOutput;
155146 uvm?: UvmEntries;
156147}
157148
158149interface AuthenticatorSelectionCriteria {
159150 authenticatorAttachment?: AuthenticatorAttachment;
160151 requireResidentKey?: boolean;
152+ residentKey?: ResidentKeyRequirement;
161153 userVerification?: UserVerificationRequirement;
162154}
163155
@@ -284,6 +276,10 @@ interface CredentialCreationOptions {
284276 signal?: AbortSignal;
285277}
286278
279+ interface CredentialPropertiesOutput {
280+ rk?: boolean;
281+ }
282+
287283interface CredentialRequestOptions {
288284 mediation?: CredentialMediationRequirement;
289285 publicKey?: PublicKeyCredentialRequestOptions;
@@ -1096,7 +1092,6 @@ interface PublicKeyCredentialDescriptor {
10961092}
10971093
10981094interface PublicKeyCredentialEntity {
1099- icon?: string;
11001095 name: string;
11011096}
11021097
@@ -1896,11 +1891,6 @@ interface WorkletOptions {
18961891 credentials?: RequestCredentials;
18971892}
18981893
1899- interface txAuthGenericArg {
1900- content: ArrayBuffer;
1901- contentType: string;
1902- }
1903-
19041894interface EventListener {
19051895 (evt: Event): void;
19061896}
@@ -3620,17 +3610,6 @@ declare var ConvolverNode: {
36203610 new(context: BaseAudioContext, options?: ConvolverOptions): ConvolverNode;
36213611};
36223612
3623- /** The position and altitude of the device on Earth, as well as the accuracy with which these properties are calculated. */
3624- interface Coordinates {
3625- readonly accuracy: number;
3626- readonly altitude: number | null;
3627- readonly altitudeAccuracy: number | null;
3628- readonly heading: number | null;
3629- readonly latitude: number;
3630- readonly longitude: number;
3631- readonly speed: number | null;
3632- }
3633-
36343613/** This Streams API interface provides a built-in byte length queuing strategy that can be used when constructing streams. */
36353614interface CountQueuingStrategy extends QueuingStrategy {
36363615 highWaterMark: number;
@@ -5659,6 +5638,52 @@ interface Geolocation {
56595638 watchPosition(successCallback: PositionCallback, errorCallback?: PositionErrorCallback, options?: PositionOptions): number;
56605639}
56615640
5641+ declare var Geolocation: {
5642+ prototype: Geolocation;
5643+ new(): Geolocation;
5644+ };
5645+
5646+ interface GeolocationCoordinates {
5647+ readonly accuracy: number;
5648+ readonly altitude: number | null;
5649+ readonly altitudeAccuracy: number | null;
5650+ readonly heading: number | null;
5651+ readonly latitude: number;
5652+ readonly longitude: number;
5653+ readonly speed: number | null;
5654+ }
5655+
5656+ declare var GeolocationCoordinates: {
5657+ prototype: GeolocationCoordinates;
5658+ new(): GeolocationCoordinates;
5659+ };
5660+
5661+ interface GeolocationPosition {
5662+ readonly coords: GeolocationCoordinates;
5663+ readonly timestamp: number;
5664+ }
5665+
5666+ declare var GeolocationPosition: {
5667+ prototype: GeolocationPosition;
5668+ new(): GeolocationPosition;
5669+ };
5670+
5671+ interface GeolocationPositionError {
5672+ readonly code: number;
5673+ readonly message: string;
5674+ readonly PERMISSION_DENIED: number;
5675+ readonly POSITION_UNAVAILABLE: number;
5676+ readonly TIMEOUT: number;
5677+ }
5678+
5679+ declare var GeolocationPositionError: {
5680+ prototype: GeolocationPositionError;
5681+ new(): GeolocationPositionError;
5682+ readonly PERMISSION_DENIED: number;
5683+ readonly POSITION_UNAVAILABLE: number;
5684+ readonly TIMEOUT: number;
5685+ };
5686+
56625687interface GlobalEventHandlersEventMap {
56635688 "abort": UIEvent;
56645689 "animationcancel": AnimationEvent;
@@ -11767,21 +11792,6 @@ declare var PopStateEvent: {
1176711792 new(type: string, eventInitDict?: PopStateEventInit): PopStateEvent;
1176811793};
1176911794
11770- /** The position of the concerned device at a given time. The position, represented by a Coordinates object, comprehends the 2D position of the device, on a spheroid representing the Earth, but also its altitude and its speed. */
11771- interface Position {
11772- readonly coords: Coordinates;
11773- readonly timestamp: number;
11774- }
11775-
11776- /** The reason of an error occurring when using the geolocating device. */
11777- interface PositionError {
11778- readonly code: number;
11779- readonly message: string;
11780- readonly PERMISSION_DENIED: number;
11781- readonly POSITION_UNAVAILABLE: number;
11782- readonly TIMEOUT: number;
11783- }
11784-
1178511795/** A processing instruction embeds application-specific instructions in XML which can be ignored by other applications that don't recognize them. */
1178611796interface ProcessingInstruction extends CharacterData, LinkStyle {
1178711797 readonly ownerDocument: Document;
@@ -12473,6 +12483,11 @@ interface ReadableByteStreamController {
1247312483 error(error?: any): void;
1247412484}
1247512485
12486+ declare var ReadableByteStreamController: {
12487+ prototype: ReadableByteStreamController;
12488+ new(): ReadableByteStreamController;
12489+ };
12490+
1247612491/** This Streams API interface represents a readable stream of byte data. The Fetch API offers a concrete instance of a ReadableStream through the body property of a Response object. */
1247712492interface ReadableStream<R = any> {
1247812493 readonly locked: boolean;
@@ -12497,26 +12512,46 @@ interface ReadableStreamBYOBReader {
1249712512 releaseLock(): void;
1249812513}
1249912514
12515+ declare var ReadableStreamBYOBReader: {
12516+ prototype: ReadableStreamBYOBReader;
12517+ new(): ReadableStreamBYOBReader;
12518+ };
12519+
1250012520interface ReadableStreamBYOBRequest {
1250112521 readonly view: ArrayBufferView;
1250212522 respond(bytesWritten: number): void;
1250312523 respondWithNewView(view: ArrayBufferView): void;
1250412524}
1250512525
12526+ declare var ReadableStreamBYOBRequest: {
12527+ prototype: ReadableStreamBYOBRequest;
12528+ new(): ReadableStreamBYOBRequest;
12529+ };
12530+
1250612531interface ReadableStreamDefaultController<R = any> {
1250712532 readonly desiredSize: number | null;
1250812533 close(): void;
1250912534 enqueue(chunk: R): void;
1251012535 error(error?: any): void;
1251112536}
1251212537
12538+ declare var ReadableStreamDefaultController: {
12539+ prototype: ReadableStreamDefaultController;
12540+ new(): ReadableStreamDefaultController;
12541+ };
12542+
1251312543interface ReadableStreamDefaultReader<R = any> {
1251412544 readonly closed: Promise<void>;
1251512545 cancel(reason?: any): Promise<void>;
1251612546 read(): Promise<ReadableStreamReadResult<R>>;
1251712547 releaseLock(): void;
1251812548}
1251912549
12550+ declare var ReadableStreamDefaultReader: {
12551+ prototype: ReadableStreamDefaultReader;
12552+ new(): ReadableStreamDefaultReader;
12553+ };
12554+
1252012555interface ReadableStreamReader<R = any> {
1252112556 cancel(): Promise<void>;
1252212557 read(): Promise<ReadableStreamReadResult<R>>;
@@ -15864,6 +15899,11 @@ interface TransformStreamDefaultController<O = any> {
1586415899 terminate(): void;
1586515900}
1586615901
15902+ declare var TransformStreamDefaultController: {
15903+ prototype: TransformStreamDefaultController;
15904+ new(): TransformStreamDefaultController;
15905+ };
15906+
1586715907/** Events providing information related to transitions. */
1586815908interface TransitionEvent extends Event {
1586915909 readonly elapsedTime: number;
@@ -18664,6 +18704,11 @@ interface WritableStreamDefaultController {
1866418704 error(error?: any): void;
1866518705}
1866618706
18707+ declare var WritableStreamDefaultController: {
18708+ prototype: WritableStreamDefaultController;
18709+ new(): WritableStreamDefaultController;
18710+ };
18711+
1866718712/** This Streams API interface is the object returned by WritableStream.getWriter() and once created locks the < writer to the WritableStream ensuring that no other streams can write to the underlying sink. */
1866818713interface WritableStreamDefaultWriter<W = any> {
1866918714 readonly closed: Promise<void>;
@@ -18675,6 +18720,11 @@ interface WritableStreamDefaultWriter<W = any> {
1867518720 write(chunk: W): Promise<void>;
1867618721}
1867718722
18723+ declare var WritableStreamDefaultWriter: {
18724+ prototype: WritableStreamDefaultWriter;
18725+ new(): WritableStreamDefaultWriter;
18726+ };
18727+
1867818728/** An XML document. It inherits from the generic Document and does not add any specific methods or properties to it: nevertheless, several algorithms behave differently with the two types of documents. */
1867918729interface XMLDocument extends Document {
1868018730 addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: XMLDocument, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
@@ -19177,11 +19227,11 @@ interface PerformanceObserverCallback {
1917719227}
1917819228
1917919229interface PositionCallback {
19180- (position: Position ): void;
19230+ (position: GeolocationPosition ): void;
1918119231}
1918219232
1918319233interface PositionErrorCallback {
19184- (positionError: PositionError ): void;
19234+ (positionError: GeolocationPositionError ): void;
1918519235}
1918619236
1918719237interface QueuingStrategySizeCallback<T = any> {
@@ -19891,9 +19941,6 @@ type PerformanceEntryList = PerformanceEntry[];
1989119941type ReadableStreamReadResult<T> = ReadableStreamReadValueResult<T> | ReadableStreamReadDoneResult<T>;
1989219942type VibratePattern = number | number[];
1989319943type COSEAlgorithmIdentifier = number;
19894- type AuthenticatorSelectionList = AAGUID[];
19895- type AAGUID = BufferSource;
19896- type AuthenticationExtensionsSupported = string[];
1989719944type UvmEntry = number[];
1989819945type UvmEntries = UvmEntry[];
1989919946type AlgorithmIdentifier = string | Algorithm;
@@ -19933,7 +19980,7 @@ type WindowProxy = Window;
1993319980type AlignSetting = "center" | "end" | "left" | "right" | "start";
1993419981type AnimationPlayState = "finished" | "idle" | "paused" | "running";
1993519982type AppendMode = "segments" | "sequence";
19936- type AttestationConveyancePreference = "direct" | "indirect" | "none";
19983+ type AttestationConveyancePreference = "direct" | "enterprise" | " indirect" | "none";
1993719984type AudioContextLatencyCategory = "balanced" | "interactive" | "playback";
1993819985type AudioContextState = "closed" | "running" | "suspended";
1993919986type AuthenticatorAttachment = "cross-platform" | "platform";
@@ -20045,6 +20092,7 @@ type RequestCredentials = "include" | "omit" | "same-origin";
2004520092type RequestDestination = "" | "audio" | "audioworklet" | "document" | "embed" | "font" | "image" | "manifest" | "object" | "paintworklet" | "report" | "script" | "sharedworker" | "style" | "track" | "video" | "worker" | "xslt";
2004620093type RequestMode = "cors" | "navigate" | "no-cors" | "same-origin";
2004720094type RequestRedirect = "error" | "follow" | "manual";
20095+ type ResidentKeyRequirement = "discouraged" | "preferred" | "required";
2004820096type ResizeQuality = "high" | "low" | "medium" | "pixelated";
2004920097type ResponseType = "basic" | "cors" | "default" | "error" | "opaque" | "opaqueredirect";
2005020098type ScopedCredentialType = "ScopedCred";
0 commit comments