diff --git a/baselines/dom.generated.d.ts b/baselines/dom.generated.d.ts index 026ba0525..d40864b71 100644 --- a/baselines/dom.generated.d.ts +++ b/baselines/dom.generated.d.ts @@ -2828,6 +2828,12 @@ interface SpeechRecognitionEventInit extends EventInit { results: SpeechRecognitionResultList; } +interface SpeechRecognitionOptions { + langs: string[]; + processLocally?: boolean; + quality?: SpeechRecognitionQuality; +} + interface SpeechSynthesisErrorEventInit extends SpeechSynthesisEventInit { error: SpeechSynthesisErrorCode; } @@ -14005,6 +14011,16 @@ interface EXT_blend_minmax { readonly MAX_EXT: 0x8008; } +interface EXT_clip_control { + clipControlEXT(origin: GLenum, depth: GLenum): void; + readonly LOWER_LEFT_EXT: 0x8CA1; + readonly UPPER_LEFT_EXT: 0x8CA2; + readonly NEGATIVE_ONE_TO_ONE_EXT: 0x935E; + readonly ZERO_TO_ONE_EXT: 0x935F; + readonly CLIP_ORIGIN_EXT: 0x935C; + readonly CLIP_DEPTH_MODE_EXT: 0x935D; +} + /** * The **`EXT_color_buffer_float`** extension is part of WebGL and adds the ability to render a variety of floating point formats. * @@ -14100,6 +14116,10 @@ interface EXT_texture_filter_anisotropic { readonly MAX_TEXTURE_MAX_ANISOTROPY_EXT: 0x84FF; } +interface EXT_texture_mirror_clamp_to_edge { + readonly MIRROR_CLAMP_TO_EDGE_EXT: 0x8743; +} + /** * The **`EXT_texture_norm16`** extension is part of the WebGL API and provides a set of new 16-bit signed normalized and unsigned normalized formats (fixed-point texture, renderbuffer and texture buffer). * @@ -35035,6 +35055,8 @@ interface SVGTextPathElement extends SVGTextContentElement, SVGURIReference { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGTextPathElement/method) */ readonly method: SVGAnimatedEnumeration; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGTextPathElement/side) */ + readonly side: SVGAnimatedEnumeration; /** * The **`spacing`** read-only property of the SVGTextPathElement interface reflects the spacing attribute of the given element. It takes one of the TEXTPATH_SPACINGTYPE_* constants defined on this interface. * @@ -36423,6 +36445,201 @@ declare var SourceBufferList: { new(): SourceBufferList; }; +/** + * The **`SpeechGrammar`** interface of the Web Speech API represents a set of words or patterns of words for the recognition service to recognize. + * @deprecated + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SpeechGrammar) + */ +interface SpeechGrammar { + /** + * The **`src`** property of the SpeechGrammar interface is used to get or set a string that contains the grammar within the SpeechGrammar object. + * @deprecated + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SpeechGrammar/src) + */ + src: string; + /** + * The optional **`weight`** property of the SpeechGrammar interface sets and returns the weight of the SpeechGrammar object. + * @deprecated + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SpeechGrammar/weight) + */ + weight: number; +} + +/** @deprecated */ +declare var SpeechGrammar: { + prototype: SpeechGrammar; + new(): SpeechGrammar; +}; + +/** + * The **`SpeechGrammarList`** interface of the Web Speech API represents a list of SpeechGrammar objects containing words or patterns of words that we want the recognition service to recognize. + * @deprecated + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SpeechGrammarList) + */ +interface SpeechGrammarList { + /** + * The **`length`** read-only property of the SpeechGrammarList interface returns the number of SpeechGrammar objects contained in the SpeechGrammarList. + * @deprecated + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SpeechGrammarList/length) + */ + readonly length: number; + /** + * The **`addFromString()`** method of the SpeechGrammarList interface takes a grammar present in a specific string within the code base (e.g., stored in a variable) and adds it to the SpeechGrammarList as a new SpeechGrammar object. + * @deprecated + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SpeechGrammarList/addFromString) + */ + addFromString(string: string, weight?: number): void; + /** + * The **`item`** getter of the SpeechGrammarList interface is a standard getter — it allows individual SpeechGrammar objects to be retrieved from the SpeechGrammarList using array syntax. + * @deprecated + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SpeechGrammarList/item) + */ + item(index: number): SpeechGrammar | null; + [index: number]: SpeechGrammar; +} + +/** @deprecated */ +declare var SpeechGrammarList: { + prototype: SpeechGrammarList; + new(): SpeechGrammarList; +}; + +interface SpeechRecognitionEventMap { + "audioend": Event; + "audiostart": Event; + "end": Event; + "error": SpeechRecognitionErrorEvent; + "nomatch": SpeechRecognitionEvent; + "result": SpeechRecognitionEvent; + "soundend": Event; + "soundstart": Event; + "speechend": Event; + "speechstart": Event; + "start": Event; +} + +/** + * The **`SpeechRecognition`** interface of the Web Speech API is the controller interface for the recognition service; this also handles the SpeechRecognitionEvent sent from the recognition service. + * Available only in secure contexts. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SpeechRecognition) + */ +interface SpeechRecognition extends EventTarget { + /** + * The **`continuous`** property of the SpeechRecognition interface controls whether continuous results are returned for each recognition, or only a single result. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SpeechRecognition/continuous) + */ + continuous: boolean; + /** + * The **`grammars`** property of the SpeechRecognition interface returns and sets a collection of SpeechGrammar objects that represent the grammars that will be understood by the current SpeechRecognition. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SpeechRecognition/grammars) + */ + grammars: SpeechGrammarList; + /** + * The **`interimResults`** property of the SpeechRecognition interface controls whether interim results should be returned (true) or not (false). Interim results are results that are not yet final (e.g., the SpeechRecognitionResult.isFinal property is false). + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SpeechRecognition/interimResults) + */ + interimResults: boolean; + /** + * The **`lang`** property of the SpeechRecognition interface returns and sets the language of the current SpeechRecognition. If not specified, this defaults to the HTML lang attribute value, or the user agent's language setting if that isn't set either. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SpeechRecognition/lang) + */ + lang: string; + /** + * The **`maxAlternatives`** property of the SpeechRecognition interface sets the maximum number of SpeechRecognitionAlternatives provided per SpeechRecognitionResult. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SpeechRecognition/maxAlternatives) + */ + maxAlternatives: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SpeechRecognition/audioend_event) */ + onaudioend: ((this: SpeechRecognition, ev: Event) => any) | null; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SpeechRecognition/audiostart_event) */ + onaudiostart: ((this: SpeechRecognition, ev: Event) => any) | null; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SpeechRecognition/end_event) */ + onend: ((this: SpeechRecognition, ev: Event) => any) | null; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SpeechRecognition/error_event) */ + onerror: ((this: SpeechRecognition, ev: SpeechRecognitionErrorEvent) => any) | null; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SpeechRecognition/nomatch_event) */ + onnomatch: ((this: SpeechRecognition, ev: SpeechRecognitionEvent) => any) | null; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SpeechRecognition/result_event) */ + onresult: ((this: SpeechRecognition, ev: SpeechRecognitionEvent) => any) | null; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SpeechRecognition/soundend_event) */ + onsoundend: ((this: SpeechRecognition, ev: Event) => any) | null; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SpeechRecognition/soundstart_event) */ + onsoundstart: ((this: SpeechRecognition, ev: Event) => any) | null; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SpeechRecognition/speechend_event) */ + onspeechend: ((this: SpeechRecognition, ev: Event) => any) | null; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SpeechRecognition/speechstart_event) */ + onspeechstart: ((this: SpeechRecognition, ev: Event) => any) | null; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SpeechRecognition/start_event) */ + onstart: ((this: SpeechRecognition, ev: Event) => any) | null; + /** + * The **`phrases`** property of the SpeechRecognition interface sets an array of SpeechRecognitionPhrase objects to be used for contextual biasing. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SpeechRecognition/phrases) + */ + phrases: SpeechRecognitionPhrase[]; + /** + * The **`processLocally`** property of the SpeechRecognition interface specifies whether speech recognition must be performed locally on the user's device. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SpeechRecognition/processLocally) + */ + processLocally: boolean; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SpeechRecognition/unspokenPunctuation) */ + unspokenPunctuation: boolean; + /** + * The **`abort()`** method of the Web Speech API stops the speech recognition service from listening to incoming audio, and doesn't attempt to return a SpeechRecognitionResult. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SpeechRecognition/abort) + */ + abort(): void; + /** + * The **`start()`** method of the Web Speech API starts the speech recognition service to listen for incoming audio (from a microphone or an audio track) and returns the results of that recognition. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SpeechRecognition/start) + */ + start(): void; + start(audioTrack: MediaStreamTrack): void; + /** + * The **`stop()`** method of the Web Speech API stops the speech recognition service from listening for incoming audio and attempts to return a SpeechRecognitionResult based on the results captured so far. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SpeechRecognition/stop) + */ + stop(): void; + addEventListener(type: K, listener: (this: SpeechRecognition, ev: SpeechRecognitionEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; + addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; + removeEventListener(type: K, listener: (this: SpeechRecognition, ev: SpeechRecognitionEventMap[K]) => any, options?: boolean | EventListenerOptions): void; + removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; +} + +declare var SpeechRecognition: { + prototype: SpeechRecognition; + new(): SpeechRecognition; + /** + * The **`available()`** static method of the Web Speech API checks whether the specified languages are available for speech recognition. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SpeechRecognition/available_static) + */ + available(options: SpeechRecognitionOptions): Promise; + /** + * The **`install()`** static method of the Web Speech API installs the required language packs for on-device speech recognition in the specified languages. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SpeechRecognition/install_static) + */ + install(options: SpeechRecognitionOptions): Promise; +}; + /** * The **`SpeechRecognitionAlternative`** interface of the Web Speech API represents a single word that has been recognized by the speech recognition service. * Available only in secure contexts. @@ -36501,6 +36718,32 @@ declare var SpeechRecognitionEvent: { new(type: string, eventInitDict: SpeechRecognitionEventInit): SpeechRecognitionEvent; }; +/** + * The **`SpeechRecognitionPhrase`** interface of the Web Speech API represents a phrase that can be passed to the speech recognition engine for contextual biasing. + * Available only in secure contexts. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SpeechRecognitionPhrase) + */ +interface SpeechRecognitionPhrase { + /** + * The **`boost`** read-only property of the SpeechRecognitionPhrase interface returns a floating point number representing the weight you want to give the corresponding phrase. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SpeechRecognitionPhrase/boost) + */ + readonly boost: number; + /** + * The **`phrase`** read-only property of the SpeechRecognitionPhrase interface returns a string containing the word or phrase you want boosted in the recognition engine's contextual bias. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SpeechRecognitionPhrase/phrase) + */ + readonly phrase: string; +} + +declare var SpeechRecognitionPhrase: { + prototype: SpeechRecognitionPhrase; + new(phrase: string, boost?: number): SpeechRecognitionPhrase; +}; + /** * The **`SpeechRecognitionResult`** interface of the Web Speech API represents a single recognition match, which may contain multiple SpeechRecognitionAlternative objects. * Available only in secure contexts. @@ -41893,6 +42136,8 @@ declare var WebSocket: { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransport) */ interface WebTransport { + anticipatedConcurrentIncomingBidirectionalStreams: number | null; + anticipatedConcurrentIncomingUnidirectionalStreams: number | null; /** * The **`closed`** read-only property of the WebTransport interface returns a promise that resolves when the transport is closed. * @@ -41939,6 +42184,7 @@ interface WebTransport { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransport/reliability) */ readonly reliability: WebTransportReliabilityMode; + readonly responseHeaders: Headers | null; /** * The **`close()`** method of the WebTransport interface closes an ongoing WebTransport session. * @@ -42019,6 +42265,7 @@ interface WebTransportDatagramDuplexStream { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransportDatagramDuplexStream/incomingMaxAge) */ incomingMaxAge: number | null; + incomingMaxBufferedDatagrams: number; /** * The **`maxDatagramSize`** read-only property of the WebTransportDatagramDuplexStream interface returns the maximum allowable size of outgoing datagrams, in bytes, that can be written to writable. * @@ -42037,6 +42284,7 @@ interface WebTransportDatagramDuplexStream { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransportDatagramDuplexStream/outgoingMaxAge) */ outgoingMaxAge: number | null; + outgoingMaxBufferedDatagrams: number; /** * The **`readable`** read-only property of the WebTransportDatagramDuplexStream interface returns a ReadableStream instance that can be used to unreliably read incoming datagrams from the stream. * @@ -45593,7 +45841,9 @@ type ServiceWorkerState = "activated" | "activating" | "installed" | "installing type ServiceWorkerUpdateViaCache = "all" | "imports" | "none"; type ShadowRootMode = "closed" | "open"; type SlotAssignmentMode = "manual" | "named"; +type SpeechRecognitionAvailabilityStatus = "available" | "downloadable" | "downloading" | "unavailable"; type SpeechRecognitionErrorCode = "aborted" | "audio-capture" | "language-not-supported" | "network" | "no-speech" | "not-allowed" | "phrases-not-supported" | "service-not-allowed"; +type SpeechRecognitionQuality = "command" | "conversation" | "dictation"; type SpeechSynthesisErrorCode = "audio-busy" | "audio-hardware" | "canceled" | "interrupted" | "invalid-argument" | "language-unavailable" | "network" | "not-allowed" | "synthesis-failed" | "synthesis-unavailable" | "text-too-long" | "voice-unavailable"; type TaskPriority = "background" | "user-blocking" | "user-visible"; type TextTrackKind = "captions" | "chapters" | "descriptions" | "metadata" | "subtitles"; @@ -46011,6 +46261,10 @@ interface SourceBufferList { [Symbol.iterator](): ArrayIterator; } +interface SpeechGrammarList { + [Symbol.iterator](): ArrayIterator; +} + interface SpeechRecognitionResult { [Symbol.iterator](): ArrayIterator; } diff --git a/baselines/serviceworker.generated.d.ts b/baselines/serviceworker.generated.d.ts index 049d8ff44..2d72e2844 100644 --- a/baselines/serviceworker.generated.d.ts +++ b/baselines/serviceworker.generated.d.ts @@ -3637,6 +3637,16 @@ interface EXT_blend_minmax { readonly MAX_EXT: 0x8008; } +interface EXT_clip_control { + clipControlEXT(origin: GLenum, depth: GLenum): void; + readonly LOWER_LEFT_EXT: 0x8CA1; + readonly UPPER_LEFT_EXT: 0x8CA2; + readonly NEGATIVE_ONE_TO_ONE_EXT: 0x935E; + readonly ZERO_TO_ONE_EXT: 0x935F; + readonly CLIP_ORIGIN_EXT: 0x935C; + readonly CLIP_DEPTH_MODE_EXT: 0x935D; +} + /** * The **`EXT_color_buffer_float`** extension is part of WebGL and adds the ability to render a variety of floating point formats. * @@ -3732,6 +3742,10 @@ interface EXT_texture_filter_anisotropic { readonly MAX_TEXTURE_MAX_ANISOTROPY_EXT: 0x84FF; } +interface EXT_texture_mirror_clamp_to_edge { + readonly MIRROR_CLAMP_TO_EDGE_EXT: 0x8743; +} + /** * The **`EXT_texture_norm16`** extension is part of the WebGL API and provides a set of new 16-bit signed normalized and unsigned normalized formats (fixed-point texture, renderbuffer and texture buffer). * @@ -12393,6 +12407,8 @@ declare var WebSocket: { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransport) */ interface WebTransport { + anticipatedConcurrentIncomingBidirectionalStreams: number | null; + anticipatedConcurrentIncomingUnidirectionalStreams: number | null; /** * The **`closed`** read-only property of the WebTransport interface returns a promise that resolves when the transport is closed. * @@ -12439,6 +12455,7 @@ interface WebTransport { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransport/reliability) */ readonly reliability: WebTransportReliabilityMode; + readonly responseHeaders: Headers | null; /** * The **`close()`** method of the WebTransport interface closes an ongoing WebTransport session. * @@ -12519,6 +12536,7 @@ interface WebTransportDatagramDuplexStream { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransportDatagramDuplexStream/incomingMaxAge) */ incomingMaxAge: number | null; + incomingMaxBufferedDatagrams: number; /** * The **`maxDatagramSize`** read-only property of the WebTransportDatagramDuplexStream interface returns the maximum allowable size of outgoing datagrams, in bytes, that can be written to writable. * @@ -12537,6 +12555,7 @@ interface WebTransportDatagramDuplexStream { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransportDatagramDuplexStream/outgoingMaxAge) */ outgoingMaxAge: number | null; + outgoingMaxBufferedDatagrams: number; /** * The **`readable`** read-only property of the WebTransportDatagramDuplexStream interface returns a ReadableStream instance that can be used to unreliably read incoming datagrams from the stream. * diff --git a/baselines/sharedworker.generated.d.ts b/baselines/sharedworker.generated.d.ts index cf13a5679..d4b09e909 100644 --- a/baselines/sharedworker.generated.d.ts +++ b/baselines/sharedworker.generated.d.ts @@ -3399,6 +3399,16 @@ interface EXT_blend_minmax { readonly MAX_EXT: 0x8008; } +interface EXT_clip_control { + clipControlEXT(origin: GLenum, depth: GLenum): void; + readonly LOWER_LEFT_EXT: 0x8CA1; + readonly UPPER_LEFT_EXT: 0x8CA2; + readonly NEGATIVE_ONE_TO_ONE_EXT: 0x935E; + readonly ZERO_TO_ONE_EXT: 0x935F; + readonly CLIP_ORIGIN_EXT: 0x935C; + readonly CLIP_DEPTH_MODE_EXT: 0x935D; +} + /** * The **`EXT_color_buffer_float`** extension is part of WebGL and adds the ability to render a variety of floating point formats. * @@ -3494,6 +3504,10 @@ interface EXT_texture_filter_anisotropic { readonly MAX_TEXTURE_MAX_ANISOTROPY_EXT: 0x84FF; } +interface EXT_texture_mirror_clamp_to_edge { + readonly MIRROR_CLAMP_TO_EDGE_EXT: 0x8743; +} + /** * The **`EXT_texture_norm16`** extension is part of the WebGL API and provides a set of new 16-bit signed normalized and unsigned normalized formats (fixed-point texture, renderbuffer and texture buffer). * @@ -11898,6 +11912,8 @@ declare var WebSocket: { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransport) */ interface WebTransport { + anticipatedConcurrentIncomingBidirectionalStreams: number | null; + anticipatedConcurrentIncomingUnidirectionalStreams: number | null; /** * The **`closed`** read-only property of the WebTransport interface returns a promise that resolves when the transport is closed. * @@ -11944,6 +11960,7 @@ interface WebTransport { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransport/reliability) */ readonly reliability: WebTransportReliabilityMode; + readonly responseHeaders: Headers | null; /** * The **`close()`** method of the WebTransport interface closes an ongoing WebTransport session. * @@ -12024,6 +12041,7 @@ interface WebTransportDatagramDuplexStream { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransportDatagramDuplexStream/incomingMaxAge) */ incomingMaxAge: number | null; + incomingMaxBufferedDatagrams: number; /** * The **`maxDatagramSize`** read-only property of the WebTransportDatagramDuplexStream interface returns the maximum allowable size of outgoing datagrams, in bytes, that can be written to writable. * @@ -12042,6 +12060,7 @@ interface WebTransportDatagramDuplexStream { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransportDatagramDuplexStream/outgoingMaxAge) */ outgoingMaxAge: number | null; + outgoingMaxBufferedDatagrams: number; /** * The **`readable`** read-only property of the WebTransportDatagramDuplexStream interface returns a ReadableStream instance that can be used to unreliably read incoming datagrams from the stream. * diff --git a/baselines/ts5.5/dom.generated.d.ts b/baselines/ts5.5/dom.generated.d.ts index 091dee425..1f6526bef 100644 --- a/baselines/ts5.5/dom.generated.d.ts +++ b/baselines/ts5.5/dom.generated.d.ts @@ -2825,6 +2825,12 @@ interface SpeechRecognitionEventInit extends EventInit { results: SpeechRecognitionResultList; } +interface SpeechRecognitionOptions { + langs: string[]; + processLocally?: boolean; + quality?: SpeechRecognitionQuality; +} + interface SpeechSynthesisErrorEventInit extends SpeechSynthesisEventInit { error: SpeechSynthesisErrorCode; } @@ -13994,6 +14000,16 @@ interface EXT_blend_minmax { readonly MAX_EXT: 0x8008; } +interface EXT_clip_control { + clipControlEXT(origin: GLenum, depth: GLenum): void; + readonly LOWER_LEFT_EXT: 0x8CA1; + readonly UPPER_LEFT_EXT: 0x8CA2; + readonly NEGATIVE_ONE_TO_ONE_EXT: 0x935E; + readonly ZERO_TO_ONE_EXT: 0x935F; + readonly CLIP_ORIGIN_EXT: 0x935C; + readonly CLIP_DEPTH_MODE_EXT: 0x935D; +} + /** * The **`EXT_color_buffer_float`** extension is part of WebGL and adds the ability to render a variety of floating point formats. * @@ -14089,6 +14105,10 @@ interface EXT_texture_filter_anisotropic { readonly MAX_TEXTURE_MAX_ANISOTROPY_EXT: 0x84FF; } +interface EXT_texture_mirror_clamp_to_edge { + readonly MIRROR_CLAMP_TO_EDGE_EXT: 0x8743; +} + /** * The **`EXT_texture_norm16`** extension is part of the WebGL API and provides a set of new 16-bit signed normalized and unsigned normalized formats (fixed-point texture, renderbuffer and texture buffer). * @@ -35010,6 +35030,8 @@ interface SVGTextPathElement extends SVGTextContentElement, SVGURIReference { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGTextPathElement/method) */ readonly method: SVGAnimatedEnumeration; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGTextPathElement/side) */ + readonly side: SVGAnimatedEnumeration; /** * The **`spacing`** read-only property of the SVGTextPathElement interface reflects the spacing attribute of the given element. It takes one of the TEXTPATH_SPACINGTYPE_* constants defined on this interface. * @@ -36398,6 +36420,201 @@ declare var SourceBufferList: { new(): SourceBufferList; }; +/** + * The **`SpeechGrammar`** interface of the Web Speech API represents a set of words or patterns of words for the recognition service to recognize. + * @deprecated + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SpeechGrammar) + */ +interface SpeechGrammar { + /** + * The **`src`** property of the SpeechGrammar interface is used to get or set a string that contains the grammar within the SpeechGrammar object. + * @deprecated + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SpeechGrammar/src) + */ + src: string; + /** + * The optional **`weight`** property of the SpeechGrammar interface sets and returns the weight of the SpeechGrammar object. + * @deprecated + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SpeechGrammar/weight) + */ + weight: number; +} + +/** @deprecated */ +declare var SpeechGrammar: { + prototype: SpeechGrammar; + new(): SpeechGrammar; +}; + +/** + * The **`SpeechGrammarList`** interface of the Web Speech API represents a list of SpeechGrammar objects containing words or patterns of words that we want the recognition service to recognize. + * @deprecated + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SpeechGrammarList) + */ +interface SpeechGrammarList { + /** + * The **`length`** read-only property of the SpeechGrammarList interface returns the number of SpeechGrammar objects contained in the SpeechGrammarList. + * @deprecated + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SpeechGrammarList/length) + */ + readonly length: number; + /** + * The **`addFromString()`** method of the SpeechGrammarList interface takes a grammar present in a specific string within the code base (e.g., stored in a variable) and adds it to the SpeechGrammarList as a new SpeechGrammar object. + * @deprecated + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SpeechGrammarList/addFromString) + */ + addFromString(string: string, weight?: number): void; + /** + * The **`item`** getter of the SpeechGrammarList interface is a standard getter — it allows individual SpeechGrammar objects to be retrieved from the SpeechGrammarList using array syntax. + * @deprecated + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SpeechGrammarList/item) + */ + item(index: number): SpeechGrammar | null; + [index: number]: SpeechGrammar; +} + +/** @deprecated */ +declare var SpeechGrammarList: { + prototype: SpeechGrammarList; + new(): SpeechGrammarList; +}; + +interface SpeechRecognitionEventMap { + "audioend": Event; + "audiostart": Event; + "end": Event; + "error": SpeechRecognitionErrorEvent; + "nomatch": SpeechRecognitionEvent; + "result": SpeechRecognitionEvent; + "soundend": Event; + "soundstart": Event; + "speechend": Event; + "speechstart": Event; + "start": Event; +} + +/** + * The **`SpeechRecognition`** interface of the Web Speech API is the controller interface for the recognition service; this also handles the SpeechRecognitionEvent sent from the recognition service. + * Available only in secure contexts. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SpeechRecognition) + */ +interface SpeechRecognition extends EventTarget { + /** + * The **`continuous`** property of the SpeechRecognition interface controls whether continuous results are returned for each recognition, or only a single result. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SpeechRecognition/continuous) + */ + continuous: boolean; + /** + * The **`grammars`** property of the SpeechRecognition interface returns and sets a collection of SpeechGrammar objects that represent the grammars that will be understood by the current SpeechRecognition. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SpeechRecognition/grammars) + */ + grammars: SpeechGrammarList; + /** + * The **`interimResults`** property of the SpeechRecognition interface controls whether interim results should be returned (true) or not (false). Interim results are results that are not yet final (e.g., the SpeechRecognitionResult.isFinal property is false). + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SpeechRecognition/interimResults) + */ + interimResults: boolean; + /** + * The **`lang`** property of the SpeechRecognition interface returns and sets the language of the current SpeechRecognition. If not specified, this defaults to the HTML lang attribute value, or the user agent's language setting if that isn't set either. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SpeechRecognition/lang) + */ + lang: string; + /** + * The **`maxAlternatives`** property of the SpeechRecognition interface sets the maximum number of SpeechRecognitionAlternatives provided per SpeechRecognitionResult. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SpeechRecognition/maxAlternatives) + */ + maxAlternatives: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SpeechRecognition/audioend_event) */ + onaudioend: ((this: SpeechRecognition, ev: Event) => any) | null; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SpeechRecognition/audiostart_event) */ + onaudiostart: ((this: SpeechRecognition, ev: Event) => any) | null; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SpeechRecognition/end_event) */ + onend: ((this: SpeechRecognition, ev: Event) => any) | null; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SpeechRecognition/error_event) */ + onerror: ((this: SpeechRecognition, ev: SpeechRecognitionErrorEvent) => any) | null; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SpeechRecognition/nomatch_event) */ + onnomatch: ((this: SpeechRecognition, ev: SpeechRecognitionEvent) => any) | null; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SpeechRecognition/result_event) */ + onresult: ((this: SpeechRecognition, ev: SpeechRecognitionEvent) => any) | null; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SpeechRecognition/soundend_event) */ + onsoundend: ((this: SpeechRecognition, ev: Event) => any) | null; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SpeechRecognition/soundstart_event) */ + onsoundstart: ((this: SpeechRecognition, ev: Event) => any) | null; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SpeechRecognition/speechend_event) */ + onspeechend: ((this: SpeechRecognition, ev: Event) => any) | null; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SpeechRecognition/speechstart_event) */ + onspeechstart: ((this: SpeechRecognition, ev: Event) => any) | null; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SpeechRecognition/start_event) */ + onstart: ((this: SpeechRecognition, ev: Event) => any) | null; + /** + * The **`phrases`** property of the SpeechRecognition interface sets an array of SpeechRecognitionPhrase objects to be used for contextual biasing. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SpeechRecognition/phrases) + */ + phrases: SpeechRecognitionPhrase[]; + /** + * The **`processLocally`** property of the SpeechRecognition interface specifies whether speech recognition must be performed locally on the user's device. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SpeechRecognition/processLocally) + */ + processLocally: boolean; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SpeechRecognition/unspokenPunctuation) */ + unspokenPunctuation: boolean; + /** + * The **`abort()`** method of the Web Speech API stops the speech recognition service from listening to incoming audio, and doesn't attempt to return a SpeechRecognitionResult. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SpeechRecognition/abort) + */ + abort(): void; + /** + * The **`start()`** method of the Web Speech API starts the speech recognition service to listen for incoming audio (from a microphone or an audio track) and returns the results of that recognition. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SpeechRecognition/start) + */ + start(): void; + start(audioTrack: MediaStreamTrack): void; + /** + * The **`stop()`** method of the Web Speech API stops the speech recognition service from listening for incoming audio and attempts to return a SpeechRecognitionResult based on the results captured so far. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SpeechRecognition/stop) + */ + stop(): void; + addEventListener(type: K, listener: (this: SpeechRecognition, ev: SpeechRecognitionEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; + addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; + removeEventListener(type: K, listener: (this: SpeechRecognition, ev: SpeechRecognitionEventMap[K]) => any, options?: boolean | EventListenerOptions): void; + removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; +} + +declare var SpeechRecognition: { + prototype: SpeechRecognition; + new(): SpeechRecognition; + /** + * The **`available()`** static method of the Web Speech API checks whether the specified languages are available for speech recognition. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SpeechRecognition/available_static) + */ + available(options: SpeechRecognitionOptions): Promise; + /** + * The **`install()`** static method of the Web Speech API installs the required language packs for on-device speech recognition in the specified languages. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SpeechRecognition/install_static) + */ + install(options: SpeechRecognitionOptions): Promise; +}; + /** * The **`SpeechRecognitionAlternative`** interface of the Web Speech API represents a single word that has been recognized by the speech recognition service. * Available only in secure contexts. @@ -36476,6 +36693,32 @@ declare var SpeechRecognitionEvent: { new(type: string, eventInitDict: SpeechRecognitionEventInit): SpeechRecognitionEvent; }; +/** + * The **`SpeechRecognitionPhrase`** interface of the Web Speech API represents a phrase that can be passed to the speech recognition engine for contextual biasing. + * Available only in secure contexts. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SpeechRecognitionPhrase) + */ +interface SpeechRecognitionPhrase { + /** + * The **`boost`** read-only property of the SpeechRecognitionPhrase interface returns a floating point number representing the weight you want to give the corresponding phrase. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SpeechRecognitionPhrase/boost) + */ + readonly boost: number; + /** + * The **`phrase`** read-only property of the SpeechRecognitionPhrase interface returns a string containing the word or phrase you want boosted in the recognition engine's contextual bias. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SpeechRecognitionPhrase/phrase) + */ + readonly phrase: string; +} + +declare var SpeechRecognitionPhrase: { + prototype: SpeechRecognitionPhrase; + new(phrase: string, boost?: number): SpeechRecognitionPhrase; +}; + /** * The **`SpeechRecognitionResult`** interface of the Web Speech API represents a single recognition match, which may contain multiple SpeechRecognitionAlternative objects. * Available only in secure contexts. @@ -41867,6 +42110,8 @@ declare var WebSocket: { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransport) */ interface WebTransport { + anticipatedConcurrentIncomingBidirectionalStreams: number | null; + anticipatedConcurrentIncomingUnidirectionalStreams: number | null; /** * The **`closed`** read-only property of the WebTransport interface returns a promise that resolves when the transport is closed. * @@ -41913,6 +42158,7 @@ interface WebTransport { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransport/reliability) */ readonly reliability: WebTransportReliabilityMode; + readonly responseHeaders: Headers | null; /** * The **`close()`** method of the WebTransport interface closes an ongoing WebTransport session. * @@ -41993,6 +42239,7 @@ interface WebTransportDatagramDuplexStream { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransportDatagramDuplexStream/incomingMaxAge) */ incomingMaxAge: number | null; + incomingMaxBufferedDatagrams: number; /** * The **`maxDatagramSize`** read-only property of the WebTransportDatagramDuplexStream interface returns the maximum allowable size of outgoing datagrams, in bytes, that can be written to writable. * @@ -42011,6 +42258,7 @@ interface WebTransportDatagramDuplexStream { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransportDatagramDuplexStream/outgoingMaxAge) */ outgoingMaxAge: number | null; + outgoingMaxBufferedDatagrams: number; /** * The **`readable`** read-only property of the WebTransportDatagramDuplexStream interface returns a ReadableStream instance that can be used to unreliably read incoming datagrams from the stream. * @@ -45567,7 +45815,9 @@ type ServiceWorkerState = "activated" | "activating" | "installed" | "installing type ServiceWorkerUpdateViaCache = "all" | "imports" | "none"; type ShadowRootMode = "closed" | "open"; type SlotAssignmentMode = "manual" | "named"; +type SpeechRecognitionAvailabilityStatus = "available" | "downloadable" | "downloading" | "unavailable"; type SpeechRecognitionErrorCode = "aborted" | "audio-capture" | "language-not-supported" | "network" | "no-speech" | "not-allowed" | "phrases-not-supported" | "service-not-allowed"; +type SpeechRecognitionQuality = "command" | "conversation" | "dictation"; type SpeechSynthesisErrorCode = "audio-busy" | "audio-hardware" | "canceled" | "interrupted" | "invalid-argument" | "language-unavailable" | "network" | "not-allowed" | "synthesis-failed" | "synthesis-unavailable" | "text-too-long" | "voice-unavailable"; type TaskPriority = "background" | "user-blocking" | "user-visible"; type TextTrackKind = "captions" | "chapters" | "descriptions" | "metadata" | "subtitles"; diff --git a/baselines/ts5.5/dom.iterable.generated.d.ts b/baselines/ts5.5/dom.iterable.generated.d.ts index 7600d8932..4fb239dd3 100644 --- a/baselines/ts5.5/dom.iterable.generated.d.ts +++ b/baselines/ts5.5/dom.iterable.generated.d.ts @@ -380,6 +380,10 @@ interface SourceBufferList { [Symbol.iterator](): IterableIterator; } +interface SpeechGrammarList { + [Symbol.iterator](): IterableIterator; +} + interface SpeechRecognitionResult { [Symbol.iterator](): IterableIterator; } diff --git a/baselines/ts5.5/serviceworker.generated.d.ts b/baselines/ts5.5/serviceworker.generated.d.ts index a4758a4f0..4bd8519a8 100644 --- a/baselines/ts5.5/serviceworker.generated.d.ts +++ b/baselines/ts5.5/serviceworker.generated.d.ts @@ -3634,6 +3634,16 @@ interface EXT_blend_minmax { readonly MAX_EXT: 0x8008; } +interface EXT_clip_control { + clipControlEXT(origin: GLenum, depth: GLenum): void; + readonly LOWER_LEFT_EXT: 0x8CA1; + readonly UPPER_LEFT_EXT: 0x8CA2; + readonly NEGATIVE_ONE_TO_ONE_EXT: 0x935E; + readonly ZERO_TO_ONE_EXT: 0x935F; + readonly CLIP_ORIGIN_EXT: 0x935C; + readonly CLIP_DEPTH_MODE_EXT: 0x935D; +} + /** * The **`EXT_color_buffer_float`** extension is part of WebGL and adds the ability to render a variety of floating point formats. * @@ -3729,6 +3739,10 @@ interface EXT_texture_filter_anisotropic { readonly MAX_TEXTURE_MAX_ANISOTROPY_EXT: 0x84FF; } +interface EXT_texture_mirror_clamp_to_edge { + readonly MIRROR_CLAMP_TO_EDGE_EXT: 0x8743; +} + /** * The **`EXT_texture_norm16`** extension is part of the WebGL API and provides a set of new 16-bit signed normalized and unsigned normalized formats (fixed-point texture, renderbuffer and texture buffer). * @@ -12390,6 +12404,8 @@ declare var WebSocket: { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransport) */ interface WebTransport { + anticipatedConcurrentIncomingBidirectionalStreams: number | null; + anticipatedConcurrentIncomingUnidirectionalStreams: number | null; /** * The **`closed`** read-only property of the WebTransport interface returns a promise that resolves when the transport is closed. * @@ -12436,6 +12452,7 @@ interface WebTransport { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransport/reliability) */ readonly reliability: WebTransportReliabilityMode; + readonly responseHeaders: Headers | null; /** * The **`close()`** method of the WebTransport interface closes an ongoing WebTransport session. * @@ -12516,6 +12533,7 @@ interface WebTransportDatagramDuplexStream { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransportDatagramDuplexStream/incomingMaxAge) */ incomingMaxAge: number | null; + incomingMaxBufferedDatagrams: number; /** * The **`maxDatagramSize`** read-only property of the WebTransportDatagramDuplexStream interface returns the maximum allowable size of outgoing datagrams, in bytes, that can be written to writable. * @@ -12534,6 +12552,7 @@ interface WebTransportDatagramDuplexStream { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransportDatagramDuplexStream/outgoingMaxAge) */ outgoingMaxAge: number | null; + outgoingMaxBufferedDatagrams: number; /** * The **`readable`** read-only property of the WebTransportDatagramDuplexStream interface returns a ReadableStream instance that can be used to unreliably read incoming datagrams from the stream. * diff --git a/baselines/ts5.5/sharedworker.generated.d.ts b/baselines/ts5.5/sharedworker.generated.d.ts index a469e25c6..a713aceae 100644 --- a/baselines/ts5.5/sharedworker.generated.d.ts +++ b/baselines/ts5.5/sharedworker.generated.d.ts @@ -3396,6 +3396,16 @@ interface EXT_blend_minmax { readonly MAX_EXT: 0x8008; } +interface EXT_clip_control { + clipControlEXT(origin: GLenum, depth: GLenum): void; + readonly LOWER_LEFT_EXT: 0x8CA1; + readonly UPPER_LEFT_EXT: 0x8CA2; + readonly NEGATIVE_ONE_TO_ONE_EXT: 0x935E; + readonly ZERO_TO_ONE_EXT: 0x935F; + readonly CLIP_ORIGIN_EXT: 0x935C; + readonly CLIP_DEPTH_MODE_EXT: 0x935D; +} + /** * The **`EXT_color_buffer_float`** extension is part of WebGL and adds the ability to render a variety of floating point formats. * @@ -3491,6 +3501,10 @@ interface EXT_texture_filter_anisotropic { readonly MAX_TEXTURE_MAX_ANISOTROPY_EXT: 0x84FF; } +interface EXT_texture_mirror_clamp_to_edge { + readonly MIRROR_CLAMP_TO_EDGE_EXT: 0x8743; +} + /** * The **`EXT_texture_norm16`** extension is part of the WebGL API and provides a set of new 16-bit signed normalized and unsigned normalized formats (fixed-point texture, renderbuffer and texture buffer). * @@ -11895,6 +11909,8 @@ declare var WebSocket: { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransport) */ interface WebTransport { + anticipatedConcurrentIncomingBidirectionalStreams: number | null; + anticipatedConcurrentIncomingUnidirectionalStreams: number | null; /** * The **`closed`** read-only property of the WebTransport interface returns a promise that resolves when the transport is closed. * @@ -11941,6 +11957,7 @@ interface WebTransport { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransport/reliability) */ readonly reliability: WebTransportReliabilityMode; + readonly responseHeaders: Headers | null; /** * The **`close()`** method of the WebTransport interface closes an ongoing WebTransport session. * @@ -12021,6 +12038,7 @@ interface WebTransportDatagramDuplexStream { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransportDatagramDuplexStream/incomingMaxAge) */ incomingMaxAge: number | null; + incomingMaxBufferedDatagrams: number; /** * The **`maxDatagramSize`** read-only property of the WebTransportDatagramDuplexStream interface returns the maximum allowable size of outgoing datagrams, in bytes, that can be written to writable. * @@ -12039,6 +12057,7 @@ interface WebTransportDatagramDuplexStream { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransportDatagramDuplexStream/outgoingMaxAge) */ outgoingMaxAge: number | null; + outgoingMaxBufferedDatagrams: number; /** * The **`readable`** read-only property of the WebTransportDatagramDuplexStream interface returns a ReadableStream instance that can be used to unreliably read incoming datagrams from the stream. * diff --git a/baselines/ts5.5/webworker.generated.d.ts b/baselines/ts5.5/webworker.generated.d.ts index 82c041c5f..e621882fa 100644 --- a/baselines/ts5.5/webworker.generated.d.ts +++ b/baselines/ts5.5/webworker.generated.d.ts @@ -4185,6 +4185,16 @@ interface EXT_blend_minmax { readonly MAX_EXT: 0x8008; } +interface EXT_clip_control { + clipControlEXT(origin: GLenum, depth: GLenum): void; + readonly LOWER_LEFT_EXT: 0x8CA1; + readonly UPPER_LEFT_EXT: 0x8CA2; + readonly NEGATIVE_ONE_TO_ONE_EXT: 0x935E; + readonly ZERO_TO_ONE_EXT: 0x935F; + readonly CLIP_ORIGIN_EXT: 0x935C; + readonly CLIP_DEPTH_MODE_EXT: 0x935D; +} + /** * The **`EXT_color_buffer_float`** extension is part of WebGL and adds the ability to render a variety of floating point formats. * @@ -4280,6 +4290,10 @@ interface EXT_texture_filter_anisotropic { readonly MAX_TEXTURE_MAX_ANISOTROPY_EXT: 0x84FF; } +interface EXT_texture_mirror_clamp_to_edge { + readonly MIRROR_CLAMP_TO_EDGE_EXT: 0x8743; +} + /** * The **`EXT_texture_norm16`** extension is part of the WebGL API and provides a set of new 16-bit signed normalized and unsigned normalized formats (fixed-point texture, renderbuffer and texture buffer). * @@ -13974,6 +13988,8 @@ declare var WebSocket: { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransport) */ interface WebTransport { + anticipatedConcurrentIncomingBidirectionalStreams: number | null; + anticipatedConcurrentIncomingUnidirectionalStreams: number | null; /** * The **`closed`** read-only property of the WebTransport interface returns a promise that resolves when the transport is closed. * @@ -14020,6 +14036,7 @@ interface WebTransport { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransport/reliability) */ readonly reliability: WebTransportReliabilityMode; + readonly responseHeaders: Headers | null; /** * The **`close()`** method of the WebTransport interface closes an ongoing WebTransport session. * @@ -14100,6 +14117,7 @@ interface WebTransportDatagramDuplexStream { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransportDatagramDuplexStream/incomingMaxAge) */ incomingMaxAge: number | null; + incomingMaxBufferedDatagrams: number; /** * The **`maxDatagramSize`** read-only property of the WebTransportDatagramDuplexStream interface returns the maximum allowable size of outgoing datagrams, in bytes, that can be written to writable. * @@ -14118,6 +14136,7 @@ interface WebTransportDatagramDuplexStream { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransportDatagramDuplexStream/outgoingMaxAge) */ outgoingMaxAge: number | null; + outgoingMaxBufferedDatagrams: number; /** * The **`readable`** read-only property of the WebTransportDatagramDuplexStream interface returns a ReadableStream instance that can be used to unreliably read incoming datagrams from the stream. * diff --git a/baselines/ts5.6/dom.generated.d.ts b/baselines/ts5.6/dom.generated.d.ts index 38f7b4da6..5d817d306 100644 --- a/baselines/ts5.6/dom.generated.d.ts +++ b/baselines/ts5.6/dom.generated.d.ts @@ -2825,6 +2825,12 @@ interface SpeechRecognitionEventInit extends EventInit { results: SpeechRecognitionResultList; } +interface SpeechRecognitionOptions { + langs: string[]; + processLocally?: boolean; + quality?: SpeechRecognitionQuality; +} + interface SpeechSynthesisErrorEventInit extends SpeechSynthesisEventInit { error: SpeechSynthesisErrorCode; } @@ -14002,6 +14008,16 @@ interface EXT_blend_minmax { readonly MAX_EXT: 0x8008; } +interface EXT_clip_control { + clipControlEXT(origin: GLenum, depth: GLenum): void; + readonly LOWER_LEFT_EXT: 0x8CA1; + readonly UPPER_LEFT_EXT: 0x8CA2; + readonly NEGATIVE_ONE_TO_ONE_EXT: 0x935E; + readonly ZERO_TO_ONE_EXT: 0x935F; + readonly CLIP_ORIGIN_EXT: 0x935C; + readonly CLIP_DEPTH_MODE_EXT: 0x935D; +} + /** * The **`EXT_color_buffer_float`** extension is part of WebGL and adds the ability to render a variety of floating point formats. * @@ -14097,6 +14113,10 @@ interface EXT_texture_filter_anisotropic { readonly MAX_TEXTURE_MAX_ANISOTROPY_EXT: 0x84FF; } +interface EXT_texture_mirror_clamp_to_edge { + readonly MIRROR_CLAMP_TO_EDGE_EXT: 0x8743; +} + /** * The **`EXT_texture_norm16`** extension is part of the WebGL API and provides a set of new 16-bit signed normalized and unsigned normalized formats (fixed-point texture, renderbuffer and texture buffer). * @@ -35032,6 +35052,8 @@ interface SVGTextPathElement extends SVGTextContentElement, SVGURIReference { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGTextPathElement/method) */ readonly method: SVGAnimatedEnumeration; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGTextPathElement/side) */ + readonly side: SVGAnimatedEnumeration; /** * The **`spacing`** read-only property of the SVGTextPathElement interface reflects the spacing attribute of the given element. It takes one of the TEXTPATH_SPACINGTYPE_* constants defined on this interface. * @@ -36420,6 +36442,201 @@ declare var SourceBufferList: { new(): SourceBufferList; }; +/** + * The **`SpeechGrammar`** interface of the Web Speech API represents a set of words or patterns of words for the recognition service to recognize. + * @deprecated + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SpeechGrammar) + */ +interface SpeechGrammar { + /** + * The **`src`** property of the SpeechGrammar interface is used to get or set a string that contains the grammar within the SpeechGrammar object. + * @deprecated + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SpeechGrammar/src) + */ + src: string; + /** + * The optional **`weight`** property of the SpeechGrammar interface sets and returns the weight of the SpeechGrammar object. + * @deprecated + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SpeechGrammar/weight) + */ + weight: number; +} + +/** @deprecated */ +declare var SpeechGrammar: { + prototype: SpeechGrammar; + new(): SpeechGrammar; +}; + +/** + * The **`SpeechGrammarList`** interface of the Web Speech API represents a list of SpeechGrammar objects containing words or patterns of words that we want the recognition service to recognize. + * @deprecated + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SpeechGrammarList) + */ +interface SpeechGrammarList { + /** + * The **`length`** read-only property of the SpeechGrammarList interface returns the number of SpeechGrammar objects contained in the SpeechGrammarList. + * @deprecated + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SpeechGrammarList/length) + */ + readonly length: number; + /** + * The **`addFromString()`** method of the SpeechGrammarList interface takes a grammar present in a specific string within the code base (e.g., stored in a variable) and adds it to the SpeechGrammarList as a new SpeechGrammar object. + * @deprecated + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SpeechGrammarList/addFromString) + */ + addFromString(string: string, weight?: number): void; + /** + * The **`item`** getter of the SpeechGrammarList interface is a standard getter — it allows individual SpeechGrammar objects to be retrieved from the SpeechGrammarList using array syntax. + * @deprecated + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SpeechGrammarList/item) + */ + item(index: number): SpeechGrammar | null; + [index: number]: SpeechGrammar; +} + +/** @deprecated */ +declare var SpeechGrammarList: { + prototype: SpeechGrammarList; + new(): SpeechGrammarList; +}; + +interface SpeechRecognitionEventMap { + "audioend": Event; + "audiostart": Event; + "end": Event; + "error": SpeechRecognitionErrorEvent; + "nomatch": SpeechRecognitionEvent; + "result": SpeechRecognitionEvent; + "soundend": Event; + "soundstart": Event; + "speechend": Event; + "speechstart": Event; + "start": Event; +} + +/** + * The **`SpeechRecognition`** interface of the Web Speech API is the controller interface for the recognition service; this also handles the SpeechRecognitionEvent sent from the recognition service. + * Available only in secure contexts. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SpeechRecognition) + */ +interface SpeechRecognition extends EventTarget { + /** + * The **`continuous`** property of the SpeechRecognition interface controls whether continuous results are returned for each recognition, or only a single result. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SpeechRecognition/continuous) + */ + continuous: boolean; + /** + * The **`grammars`** property of the SpeechRecognition interface returns and sets a collection of SpeechGrammar objects that represent the grammars that will be understood by the current SpeechRecognition. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SpeechRecognition/grammars) + */ + grammars: SpeechGrammarList; + /** + * The **`interimResults`** property of the SpeechRecognition interface controls whether interim results should be returned (true) or not (false). Interim results are results that are not yet final (e.g., the SpeechRecognitionResult.isFinal property is false). + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SpeechRecognition/interimResults) + */ + interimResults: boolean; + /** + * The **`lang`** property of the SpeechRecognition interface returns and sets the language of the current SpeechRecognition. If not specified, this defaults to the HTML lang attribute value, or the user agent's language setting if that isn't set either. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SpeechRecognition/lang) + */ + lang: string; + /** + * The **`maxAlternatives`** property of the SpeechRecognition interface sets the maximum number of SpeechRecognitionAlternatives provided per SpeechRecognitionResult. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SpeechRecognition/maxAlternatives) + */ + maxAlternatives: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SpeechRecognition/audioend_event) */ + onaudioend: ((this: SpeechRecognition, ev: Event) => any) | null; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SpeechRecognition/audiostart_event) */ + onaudiostart: ((this: SpeechRecognition, ev: Event) => any) | null; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SpeechRecognition/end_event) */ + onend: ((this: SpeechRecognition, ev: Event) => any) | null; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SpeechRecognition/error_event) */ + onerror: ((this: SpeechRecognition, ev: SpeechRecognitionErrorEvent) => any) | null; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SpeechRecognition/nomatch_event) */ + onnomatch: ((this: SpeechRecognition, ev: SpeechRecognitionEvent) => any) | null; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SpeechRecognition/result_event) */ + onresult: ((this: SpeechRecognition, ev: SpeechRecognitionEvent) => any) | null; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SpeechRecognition/soundend_event) */ + onsoundend: ((this: SpeechRecognition, ev: Event) => any) | null; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SpeechRecognition/soundstart_event) */ + onsoundstart: ((this: SpeechRecognition, ev: Event) => any) | null; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SpeechRecognition/speechend_event) */ + onspeechend: ((this: SpeechRecognition, ev: Event) => any) | null; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SpeechRecognition/speechstart_event) */ + onspeechstart: ((this: SpeechRecognition, ev: Event) => any) | null; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SpeechRecognition/start_event) */ + onstart: ((this: SpeechRecognition, ev: Event) => any) | null; + /** + * The **`phrases`** property of the SpeechRecognition interface sets an array of SpeechRecognitionPhrase objects to be used for contextual biasing. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SpeechRecognition/phrases) + */ + phrases: SpeechRecognitionPhrase[]; + /** + * The **`processLocally`** property of the SpeechRecognition interface specifies whether speech recognition must be performed locally on the user's device. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SpeechRecognition/processLocally) + */ + processLocally: boolean; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SpeechRecognition/unspokenPunctuation) */ + unspokenPunctuation: boolean; + /** + * The **`abort()`** method of the Web Speech API stops the speech recognition service from listening to incoming audio, and doesn't attempt to return a SpeechRecognitionResult. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SpeechRecognition/abort) + */ + abort(): void; + /** + * The **`start()`** method of the Web Speech API starts the speech recognition service to listen for incoming audio (from a microphone or an audio track) and returns the results of that recognition. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SpeechRecognition/start) + */ + start(): void; + start(audioTrack: MediaStreamTrack): void; + /** + * The **`stop()`** method of the Web Speech API stops the speech recognition service from listening for incoming audio and attempts to return a SpeechRecognitionResult based on the results captured so far. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SpeechRecognition/stop) + */ + stop(): void; + addEventListener(type: K, listener: (this: SpeechRecognition, ev: SpeechRecognitionEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; + addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; + removeEventListener(type: K, listener: (this: SpeechRecognition, ev: SpeechRecognitionEventMap[K]) => any, options?: boolean | EventListenerOptions): void; + removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; +} + +declare var SpeechRecognition: { + prototype: SpeechRecognition; + new(): SpeechRecognition; + /** + * The **`available()`** static method of the Web Speech API checks whether the specified languages are available for speech recognition. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SpeechRecognition/available_static) + */ + available(options: SpeechRecognitionOptions): Promise; + /** + * The **`install()`** static method of the Web Speech API installs the required language packs for on-device speech recognition in the specified languages. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SpeechRecognition/install_static) + */ + install(options: SpeechRecognitionOptions): Promise; +}; + /** * The **`SpeechRecognitionAlternative`** interface of the Web Speech API represents a single word that has been recognized by the speech recognition service. * Available only in secure contexts. @@ -36498,6 +36715,32 @@ declare var SpeechRecognitionEvent: { new(type: string, eventInitDict: SpeechRecognitionEventInit): SpeechRecognitionEvent; }; +/** + * The **`SpeechRecognitionPhrase`** interface of the Web Speech API represents a phrase that can be passed to the speech recognition engine for contextual biasing. + * Available only in secure contexts. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SpeechRecognitionPhrase) + */ +interface SpeechRecognitionPhrase { + /** + * The **`boost`** read-only property of the SpeechRecognitionPhrase interface returns a floating point number representing the weight you want to give the corresponding phrase. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SpeechRecognitionPhrase/boost) + */ + readonly boost: number; + /** + * The **`phrase`** read-only property of the SpeechRecognitionPhrase interface returns a string containing the word or phrase you want boosted in the recognition engine's contextual bias. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SpeechRecognitionPhrase/phrase) + */ + readonly phrase: string; +} + +declare var SpeechRecognitionPhrase: { + prototype: SpeechRecognitionPhrase; + new(phrase: string, boost?: number): SpeechRecognitionPhrase; +}; + /** * The **`SpeechRecognitionResult`** interface of the Web Speech API represents a single recognition match, which may contain multiple SpeechRecognitionAlternative objects. * Available only in secure contexts. @@ -41890,6 +42133,8 @@ declare var WebSocket: { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransport) */ interface WebTransport { + anticipatedConcurrentIncomingBidirectionalStreams: number | null; + anticipatedConcurrentIncomingUnidirectionalStreams: number | null; /** * The **`closed`** read-only property of the WebTransport interface returns a promise that resolves when the transport is closed. * @@ -41936,6 +42181,7 @@ interface WebTransport { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransport/reliability) */ readonly reliability: WebTransportReliabilityMode; + readonly responseHeaders: Headers | null; /** * The **`close()`** method of the WebTransport interface closes an ongoing WebTransport session. * @@ -42016,6 +42262,7 @@ interface WebTransportDatagramDuplexStream { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransportDatagramDuplexStream/incomingMaxAge) */ incomingMaxAge: number | null; + incomingMaxBufferedDatagrams: number; /** * The **`maxDatagramSize`** read-only property of the WebTransportDatagramDuplexStream interface returns the maximum allowable size of outgoing datagrams, in bytes, that can be written to writable. * @@ -42034,6 +42281,7 @@ interface WebTransportDatagramDuplexStream { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransportDatagramDuplexStream/outgoingMaxAge) */ outgoingMaxAge: number | null; + outgoingMaxBufferedDatagrams: number; /** * The **`readable`** read-only property of the WebTransportDatagramDuplexStream interface returns a ReadableStream instance that can be used to unreliably read incoming datagrams from the stream. * @@ -45590,7 +45838,9 @@ type ServiceWorkerState = "activated" | "activating" | "installed" | "installing type ServiceWorkerUpdateViaCache = "all" | "imports" | "none"; type ShadowRootMode = "closed" | "open"; type SlotAssignmentMode = "manual" | "named"; +type SpeechRecognitionAvailabilityStatus = "available" | "downloadable" | "downloading" | "unavailable"; type SpeechRecognitionErrorCode = "aborted" | "audio-capture" | "language-not-supported" | "network" | "no-speech" | "not-allowed" | "phrases-not-supported" | "service-not-allowed"; +type SpeechRecognitionQuality = "command" | "conversation" | "dictation"; type SpeechSynthesisErrorCode = "audio-busy" | "audio-hardware" | "canceled" | "interrupted" | "invalid-argument" | "language-unavailable" | "network" | "not-allowed" | "synthesis-failed" | "synthesis-unavailable" | "text-too-long" | "voice-unavailable"; type TaskPriority = "background" | "user-blocking" | "user-visible"; type TextTrackKind = "captions" | "chapters" | "descriptions" | "metadata" | "subtitles"; diff --git a/baselines/ts5.6/dom.iterable.generated.d.ts b/baselines/ts5.6/dom.iterable.generated.d.ts index 1c6b668da..99858d3bb 100644 --- a/baselines/ts5.6/dom.iterable.generated.d.ts +++ b/baselines/ts5.6/dom.iterable.generated.d.ts @@ -392,6 +392,10 @@ interface SourceBufferList { [Symbol.iterator](): ArrayIterator; } +interface SpeechGrammarList { + [Symbol.iterator](): ArrayIterator; +} + interface SpeechRecognitionResult { [Symbol.iterator](): ArrayIterator; } diff --git a/baselines/ts5.6/serviceworker.generated.d.ts b/baselines/ts5.6/serviceworker.generated.d.ts index a4758a4f0..4bd8519a8 100644 --- a/baselines/ts5.6/serviceworker.generated.d.ts +++ b/baselines/ts5.6/serviceworker.generated.d.ts @@ -3634,6 +3634,16 @@ interface EXT_blend_minmax { readonly MAX_EXT: 0x8008; } +interface EXT_clip_control { + clipControlEXT(origin: GLenum, depth: GLenum): void; + readonly LOWER_LEFT_EXT: 0x8CA1; + readonly UPPER_LEFT_EXT: 0x8CA2; + readonly NEGATIVE_ONE_TO_ONE_EXT: 0x935E; + readonly ZERO_TO_ONE_EXT: 0x935F; + readonly CLIP_ORIGIN_EXT: 0x935C; + readonly CLIP_DEPTH_MODE_EXT: 0x935D; +} + /** * The **`EXT_color_buffer_float`** extension is part of WebGL and adds the ability to render a variety of floating point formats. * @@ -3729,6 +3739,10 @@ interface EXT_texture_filter_anisotropic { readonly MAX_TEXTURE_MAX_ANISOTROPY_EXT: 0x84FF; } +interface EXT_texture_mirror_clamp_to_edge { + readonly MIRROR_CLAMP_TO_EDGE_EXT: 0x8743; +} + /** * The **`EXT_texture_norm16`** extension is part of the WebGL API and provides a set of new 16-bit signed normalized and unsigned normalized formats (fixed-point texture, renderbuffer and texture buffer). * @@ -12390,6 +12404,8 @@ declare var WebSocket: { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransport) */ interface WebTransport { + anticipatedConcurrentIncomingBidirectionalStreams: number | null; + anticipatedConcurrentIncomingUnidirectionalStreams: number | null; /** * The **`closed`** read-only property of the WebTransport interface returns a promise that resolves when the transport is closed. * @@ -12436,6 +12452,7 @@ interface WebTransport { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransport/reliability) */ readonly reliability: WebTransportReliabilityMode; + readonly responseHeaders: Headers | null; /** * The **`close()`** method of the WebTransport interface closes an ongoing WebTransport session. * @@ -12516,6 +12533,7 @@ interface WebTransportDatagramDuplexStream { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransportDatagramDuplexStream/incomingMaxAge) */ incomingMaxAge: number | null; + incomingMaxBufferedDatagrams: number; /** * The **`maxDatagramSize`** read-only property of the WebTransportDatagramDuplexStream interface returns the maximum allowable size of outgoing datagrams, in bytes, that can be written to writable. * @@ -12534,6 +12552,7 @@ interface WebTransportDatagramDuplexStream { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransportDatagramDuplexStream/outgoingMaxAge) */ outgoingMaxAge: number | null; + outgoingMaxBufferedDatagrams: number; /** * The **`readable`** read-only property of the WebTransportDatagramDuplexStream interface returns a ReadableStream instance that can be used to unreliably read incoming datagrams from the stream. * diff --git a/baselines/ts5.6/sharedworker.generated.d.ts b/baselines/ts5.6/sharedworker.generated.d.ts index a469e25c6..a713aceae 100644 --- a/baselines/ts5.6/sharedworker.generated.d.ts +++ b/baselines/ts5.6/sharedworker.generated.d.ts @@ -3396,6 +3396,16 @@ interface EXT_blend_minmax { readonly MAX_EXT: 0x8008; } +interface EXT_clip_control { + clipControlEXT(origin: GLenum, depth: GLenum): void; + readonly LOWER_LEFT_EXT: 0x8CA1; + readonly UPPER_LEFT_EXT: 0x8CA2; + readonly NEGATIVE_ONE_TO_ONE_EXT: 0x935E; + readonly ZERO_TO_ONE_EXT: 0x935F; + readonly CLIP_ORIGIN_EXT: 0x935C; + readonly CLIP_DEPTH_MODE_EXT: 0x935D; +} + /** * The **`EXT_color_buffer_float`** extension is part of WebGL and adds the ability to render a variety of floating point formats. * @@ -3491,6 +3501,10 @@ interface EXT_texture_filter_anisotropic { readonly MAX_TEXTURE_MAX_ANISOTROPY_EXT: 0x84FF; } +interface EXT_texture_mirror_clamp_to_edge { + readonly MIRROR_CLAMP_TO_EDGE_EXT: 0x8743; +} + /** * The **`EXT_texture_norm16`** extension is part of the WebGL API and provides a set of new 16-bit signed normalized and unsigned normalized formats (fixed-point texture, renderbuffer and texture buffer). * @@ -11895,6 +11909,8 @@ declare var WebSocket: { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransport) */ interface WebTransport { + anticipatedConcurrentIncomingBidirectionalStreams: number | null; + anticipatedConcurrentIncomingUnidirectionalStreams: number | null; /** * The **`closed`** read-only property of the WebTransport interface returns a promise that resolves when the transport is closed. * @@ -11941,6 +11957,7 @@ interface WebTransport { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransport/reliability) */ readonly reliability: WebTransportReliabilityMode; + readonly responseHeaders: Headers | null; /** * The **`close()`** method of the WebTransport interface closes an ongoing WebTransport session. * @@ -12021,6 +12038,7 @@ interface WebTransportDatagramDuplexStream { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransportDatagramDuplexStream/incomingMaxAge) */ incomingMaxAge: number | null; + incomingMaxBufferedDatagrams: number; /** * The **`maxDatagramSize`** read-only property of the WebTransportDatagramDuplexStream interface returns the maximum allowable size of outgoing datagrams, in bytes, that can be written to writable. * @@ -12039,6 +12057,7 @@ interface WebTransportDatagramDuplexStream { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransportDatagramDuplexStream/outgoingMaxAge) */ outgoingMaxAge: number | null; + outgoingMaxBufferedDatagrams: number; /** * The **`readable`** read-only property of the WebTransportDatagramDuplexStream interface returns a ReadableStream instance that can be used to unreliably read incoming datagrams from the stream. * diff --git a/baselines/ts5.6/webworker.generated.d.ts b/baselines/ts5.6/webworker.generated.d.ts index 82c041c5f..e621882fa 100644 --- a/baselines/ts5.6/webworker.generated.d.ts +++ b/baselines/ts5.6/webworker.generated.d.ts @@ -4185,6 +4185,16 @@ interface EXT_blend_minmax { readonly MAX_EXT: 0x8008; } +interface EXT_clip_control { + clipControlEXT(origin: GLenum, depth: GLenum): void; + readonly LOWER_LEFT_EXT: 0x8CA1; + readonly UPPER_LEFT_EXT: 0x8CA2; + readonly NEGATIVE_ONE_TO_ONE_EXT: 0x935E; + readonly ZERO_TO_ONE_EXT: 0x935F; + readonly CLIP_ORIGIN_EXT: 0x935C; + readonly CLIP_DEPTH_MODE_EXT: 0x935D; +} + /** * The **`EXT_color_buffer_float`** extension is part of WebGL and adds the ability to render a variety of floating point formats. * @@ -4280,6 +4290,10 @@ interface EXT_texture_filter_anisotropic { readonly MAX_TEXTURE_MAX_ANISOTROPY_EXT: 0x84FF; } +interface EXT_texture_mirror_clamp_to_edge { + readonly MIRROR_CLAMP_TO_EDGE_EXT: 0x8743; +} + /** * The **`EXT_texture_norm16`** extension is part of the WebGL API and provides a set of new 16-bit signed normalized and unsigned normalized formats (fixed-point texture, renderbuffer and texture buffer). * @@ -13974,6 +13988,8 @@ declare var WebSocket: { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransport) */ interface WebTransport { + anticipatedConcurrentIncomingBidirectionalStreams: number | null; + anticipatedConcurrentIncomingUnidirectionalStreams: number | null; /** * The **`closed`** read-only property of the WebTransport interface returns a promise that resolves when the transport is closed. * @@ -14020,6 +14036,7 @@ interface WebTransport { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransport/reliability) */ readonly reliability: WebTransportReliabilityMode; + readonly responseHeaders: Headers | null; /** * The **`close()`** method of the WebTransport interface closes an ongoing WebTransport session. * @@ -14100,6 +14117,7 @@ interface WebTransportDatagramDuplexStream { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransportDatagramDuplexStream/incomingMaxAge) */ incomingMaxAge: number | null; + incomingMaxBufferedDatagrams: number; /** * The **`maxDatagramSize`** read-only property of the WebTransportDatagramDuplexStream interface returns the maximum allowable size of outgoing datagrams, in bytes, that can be written to writable. * @@ -14118,6 +14136,7 @@ interface WebTransportDatagramDuplexStream { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransportDatagramDuplexStream/outgoingMaxAge) */ outgoingMaxAge: number | null; + outgoingMaxBufferedDatagrams: number; /** * The **`readable`** read-only property of the WebTransportDatagramDuplexStream interface returns a ReadableStream instance that can be used to unreliably read incoming datagrams from the stream. * diff --git a/baselines/ts5.9/dom.generated.d.ts b/baselines/ts5.9/dom.generated.d.ts index 0def56211..12bf3398f 100644 --- a/baselines/ts5.9/dom.generated.d.ts +++ b/baselines/ts5.9/dom.generated.d.ts @@ -2825,6 +2825,12 @@ interface SpeechRecognitionEventInit extends EventInit { results: SpeechRecognitionResultList; } +interface SpeechRecognitionOptions { + langs: string[]; + processLocally?: boolean; + quality?: SpeechRecognitionQuality; +} + interface SpeechSynthesisErrorEventInit extends SpeechSynthesisEventInit { error: SpeechSynthesisErrorCode; } @@ -14002,6 +14008,16 @@ interface EXT_blend_minmax { readonly MAX_EXT: 0x8008; } +interface EXT_clip_control { + clipControlEXT(origin: GLenum, depth: GLenum): void; + readonly LOWER_LEFT_EXT: 0x8CA1; + readonly UPPER_LEFT_EXT: 0x8CA2; + readonly NEGATIVE_ONE_TO_ONE_EXT: 0x935E; + readonly ZERO_TO_ONE_EXT: 0x935F; + readonly CLIP_ORIGIN_EXT: 0x935C; + readonly CLIP_DEPTH_MODE_EXT: 0x935D; +} + /** * The **`EXT_color_buffer_float`** extension is part of WebGL and adds the ability to render a variety of floating point formats. * @@ -14097,6 +14113,10 @@ interface EXT_texture_filter_anisotropic { readonly MAX_TEXTURE_MAX_ANISOTROPY_EXT: 0x84FF; } +interface EXT_texture_mirror_clamp_to_edge { + readonly MIRROR_CLAMP_TO_EDGE_EXT: 0x8743; +} + /** * The **`EXT_texture_norm16`** extension is part of the WebGL API and provides a set of new 16-bit signed normalized and unsigned normalized formats (fixed-point texture, renderbuffer and texture buffer). * @@ -35032,6 +35052,8 @@ interface SVGTextPathElement extends SVGTextContentElement, SVGURIReference { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGTextPathElement/method) */ readonly method: SVGAnimatedEnumeration; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGTextPathElement/side) */ + readonly side: SVGAnimatedEnumeration; /** * The **`spacing`** read-only property of the SVGTextPathElement interface reflects the spacing attribute of the given element. It takes one of the TEXTPATH_SPACINGTYPE_* constants defined on this interface. * @@ -36420,6 +36442,201 @@ declare var SourceBufferList: { new(): SourceBufferList; }; +/** + * The **`SpeechGrammar`** interface of the Web Speech API represents a set of words or patterns of words for the recognition service to recognize. + * @deprecated + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SpeechGrammar) + */ +interface SpeechGrammar { + /** + * The **`src`** property of the SpeechGrammar interface is used to get or set a string that contains the grammar within the SpeechGrammar object. + * @deprecated + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SpeechGrammar/src) + */ + src: string; + /** + * The optional **`weight`** property of the SpeechGrammar interface sets and returns the weight of the SpeechGrammar object. + * @deprecated + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SpeechGrammar/weight) + */ + weight: number; +} + +/** @deprecated */ +declare var SpeechGrammar: { + prototype: SpeechGrammar; + new(): SpeechGrammar; +}; + +/** + * The **`SpeechGrammarList`** interface of the Web Speech API represents a list of SpeechGrammar objects containing words or patterns of words that we want the recognition service to recognize. + * @deprecated + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SpeechGrammarList) + */ +interface SpeechGrammarList { + /** + * The **`length`** read-only property of the SpeechGrammarList interface returns the number of SpeechGrammar objects contained in the SpeechGrammarList. + * @deprecated + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SpeechGrammarList/length) + */ + readonly length: number; + /** + * The **`addFromString()`** method of the SpeechGrammarList interface takes a grammar present in a specific string within the code base (e.g., stored in a variable) and adds it to the SpeechGrammarList as a new SpeechGrammar object. + * @deprecated + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SpeechGrammarList/addFromString) + */ + addFromString(string: string, weight?: number): void; + /** + * The **`item`** getter of the SpeechGrammarList interface is a standard getter — it allows individual SpeechGrammar objects to be retrieved from the SpeechGrammarList using array syntax. + * @deprecated + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SpeechGrammarList/item) + */ + item(index: number): SpeechGrammar | null; + [index: number]: SpeechGrammar; +} + +/** @deprecated */ +declare var SpeechGrammarList: { + prototype: SpeechGrammarList; + new(): SpeechGrammarList; +}; + +interface SpeechRecognitionEventMap { + "audioend": Event; + "audiostart": Event; + "end": Event; + "error": SpeechRecognitionErrorEvent; + "nomatch": SpeechRecognitionEvent; + "result": SpeechRecognitionEvent; + "soundend": Event; + "soundstart": Event; + "speechend": Event; + "speechstart": Event; + "start": Event; +} + +/** + * The **`SpeechRecognition`** interface of the Web Speech API is the controller interface for the recognition service; this also handles the SpeechRecognitionEvent sent from the recognition service. + * Available only in secure contexts. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SpeechRecognition) + */ +interface SpeechRecognition extends EventTarget { + /** + * The **`continuous`** property of the SpeechRecognition interface controls whether continuous results are returned for each recognition, or only a single result. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SpeechRecognition/continuous) + */ + continuous: boolean; + /** + * The **`grammars`** property of the SpeechRecognition interface returns and sets a collection of SpeechGrammar objects that represent the grammars that will be understood by the current SpeechRecognition. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SpeechRecognition/grammars) + */ + grammars: SpeechGrammarList; + /** + * The **`interimResults`** property of the SpeechRecognition interface controls whether interim results should be returned (true) or not (false). Interim results are results that are not yet final (e.g., the SpeechRecognitionResult.isFinal property is false). + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SpeechRecognition/interimResults) + */ + interimResults: boolean; + /** + * The **`lang`** property of the SpeechRecognition interface returns and sets the language of the current SpeechRecognition. If not specified, this defaults to the HTML lang attribute value, or the user agent's language setting if that isn't set either. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SpeechRecognition/lang) + */ + lang: string; + /** + * The **`maxAlternatives`** property of the SpeechRecognition interface sets the maximum number of SpeechRecognitionAlternatives provided per SpeechRecognitionResult. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SpeechRecognition/maxAlternatives) + */ + maxAlternatives: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SpeechRecognition/audioend_event) */ + onaudioend: ((this: SpeechRecognition, ev: Event) => any) | null; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SpeechRecognition/audiostart_event) */ + onaudiostart: ((this: SpeechRecognition, ev: Event) => any) | null; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SpeechRecognition/end_event) */ + onend: ((this: SpeechRecognition, ev: Event) => any) | null; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SpeechRecognition/error_event) */ + onerror: ((this: SpeechRecognition, ev: SpeechRecognitionErrorEvent) => any) | null; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SpeechRecognition/nomatch_event) */ + onnomatch: ((this: SpeechRecognition, ev: SpeechRecognitionEvent) => any) | null; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SpeechRecognition/result_event) */ + onresult: ((this: SpeechRecognition, ev: SpeechRecognitionEvent) => any) | null; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SpeechRecognition/soundend_event) */ + onsoundend: ((this: SpeechRecognition, ev: Event) => any) | null; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SpeechRecognition/soundstart_event) */ + onsoundstart: ((this: SpeechRecognition, ev: Event) => any) | null; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SpeechRecognition/speechend_event) */ + onspeechend: ((this: SpeechRecognition, ev: Event) => any) | null; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SpeechRecognition/speechstart_event) */ + onspeechstart: ((this: SpeechRecognition, ev: Event) => any) | null; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SpeechRecognition/start_event) */ + onstart: ((this: SpeechRecognition, ev: Event) => any) | null; + /** + * The **`phrases`** property of the SpeechRecognition interface sets an array of SpeechRecognitionPhrase objects to be used for contextual biasing. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SpeechRecognition/phrases) + */ + phrases: SpeechRecognitionPhrase[]; + /** + * The **`processLocally`** property of the SpeechRecognition interface specifies whether speech recognition must be performed locally on the user's device. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SpeechRecognition/processLocally) + */ + processLocally: boolean; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SpeechRecognition/unspokenPunctuation) */ + unspokenPunctuation: boolean; + /** + * The **`abort()`** method of the Web Speech API stops the speech recognition service from listening to incoming audio, and doesn't attempt to return a SpeechRecognitionResult. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SpeechRecognition/abort) + */ + abort(): void; + /** + * The **`start()`** method of the Web Speech API starts the speech recognition service to listen for incoming audio (from a microphone or an audio track) and returns the results of that recognition. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SpeechRecognition/start) + */ + start(): void; + start(audioTrack: MediaStreamTrack): void; + /** + * The **`stop()`** method of the Web Speech API stops the speech recognition service from listening for incoming audio and attempts to return a SpeechRecognitionResult based on the results captured so far. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SpeechRecognition/stop) + */ + stop(): void; + addEventListener(type: K, listener: (this: SpeechRecognition, ev: SpeechRecognitionEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; + addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; + removeEventListener(type: K, listener: (this: SpeechRecognition, ev: SpeechRecognitionEventMap[K]) => any, options?: boolean | EventListenerOptions): void; + removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; +} + +declare var SpeechRecognition: { + prototype: SpeechRecognition; + new(): SpeechRecognition; + /** + * The **`available()`** static method of the Web Speech API checks whether the specified languages are available for speech recognition. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SpeechRecognition/available_static) + */ + available(options: SpeechRecognitionOptions): Promise; + /** + * The **`install()`** static method of the Web Speech API installs the required language packs for on-device speech recognition in the specified languages. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SpeechRecognition/install_static) + */ + install(options: SpeechRecognitionOptions): Promise; +}; + /** * The **`SpeechRecognitionAlternative`** interface of the Web Speech API represents a single word that has been recognized by the speech recognition service. * Available only in secure contexts. @@ -36498,6 +36715,32 @@ declare var SpeechRecognitionEvent: { new(type: string, eventInitDict: SpeechRecognitionEventInit): SpeechRecognitionEvent; }; +/** + * The **`SpeechRecognitionPhrase`** interface of the Web Speech API represents a phrase that can be passed to the speech recognition engine for contextual biasing. + * Available only in secure contexts. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SpeechRecognitionPhrase) + */ +interface SpeechRecognitionPhrase { + /** + * The **`boost`** read-only property of the SpeechRecognitionPhrase interface returns a floating point number representing the weight you want to give the corresponding phrase. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SpeechRecognitionPhrase/boost) + */ + readonly boost: number; + /** + * The **`phrase`** read-only property of the SpeechRecognitionPhrase interface returns a string containing the word or phrase you want boosted in the recognition engine's contextual bias. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SpeechRecognitionPhrase/phrase) + */ + readonly phrase: string; +} + +declare var SpeechRecognitionPhrase: { + prototype: SpeechRecognitionPhrase; + new(phrase: string, boost?: number): SpeechRecognitionPhrase; +}; + /** * The **`SpeechRecognitionResult`** interface of the Web Speech API represents a single recognition match, which may contain multiple SpeechRecognitionAlternative objects. * Available only in secure contexts. @@ -41890,6 +42133,8 @@ declare var WebSocket: { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransport) */ interface WebTransport { + anticipatedConcurrentIncomingBidirectionalStreams: number | null; + anticipatedConcurrentIncomingUnidirectionalStreams: number | null; /** * The **`closed`** read-only property of the WebTransport interface returns a promise that resolves when the transport is closed. * @@ -41936,6 +42181,7 @@ interface WebTransport { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransport/reliability) */ readonly reliability: WebTransportReliabilityMode; + readonly responseHeaders: Headers | null; /** * The **`close()`** method of the WebTransport interface closes an ongoing WebTransport session. * @@ -42016,6 +42262,7 @@ interface WebTransportDatagramDuplexStream { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransportDatagramDuplexStream/incomingMaxAge) */ incomingMaxAge: number | null; + incomingMaxBufferedDatagrams: number; /** * The **`maxDatagramSize`** read-only property of the WebTransportDatagramDuplexStream interface returns the maximum allowable size of outgoing datagrams, in bytes, that can be written to writable. * @@ -42034,6 +42281,7 @@ interface WebTransportDatagramDuplexStream { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransportDatagramDuplexStream/outgoingMaxAge) */ outgoingMaxAge: number | null; + outgoingMaxBufferedDatagrams: number; /** * The **`readable`** read-only property of the WebTransportDatagramDuplexStream interface returns a ReadableStream instance that can be used to unreliably read incoming datagrams from the stream. * @@ -45590,7 +45838,9 @@ type ServiceWorkerState = "activated" | "activating" | "installed" | "installing type ServiceWorkerUpdateViaCache = "all" | "imports" | "none"; type ShadowRootMode = "closed" | "open"; type SlotAssignmentMode = "manual" | "named"; +type SpeechRecognitionAvailabilityStatus = "available" | "downloadable" | "downloading" | "unavailable"; type SpeechRecognitionErrorCode = "aborted" | "audio-capture" | "language-not-supported" | "network" | "no-speech" | "not-allowed" | "phrases-not-supported" | "service-not-allowed"; +type SpeechRecognitionQuality = "command" | "conversation" | "dictation"; type SpeechSynthesisErrorCode = "audio-busy" | "audio-hardware" | "canceled" | "interrupted" | "invalid-argument" | "language-unavailable" | "network" | "not-allowed" | "synthesis-failed" | "synthesis-unavailable" | "text-too-long" | "voice-unavailable"; type TaskPriority = "background" | "user-blocking" | "user-visible"; type TextTrackKind = "captions" | "chapters" | "descriptions" | "metadata" | "subtitles"; diff --git a/baselines/ts5.9/dom.iterable.generated.d.ts b/baselines/ts5.9/dom.iterable.generated.d.ts index 5dc8b31ce..ed6c789a1 100644 --- a/baselines/ts5.9/dom.iterable.generated.d.ts +++ b/baselines/ts5.9/dom.iterable.generated.d.ts @@ -392,6 +392,10 @@ interface SourceBufferList { [Symbol.iterator](): ArrayIterator; } +interface SpeechGrammarList { + [Symbol.iterator](): ArrayIterator; +} + interface SpeechRecognitionResult { [Symbol.iterator](): ArrayIterator; } diff --git a/baselines/ts5.9/serviceworker.generated.d.ts b/baselines/ts5.9/serviceworker.generated.d.ts index 2480e877f..0d382a7c0 100644 --- a/baselines/ts5.9/serviceworker.generated.d.ts +++ b/baselines/ts5.9/serviceworker.generated.d.ts @@ -3634,6 +3634,16 @@ interface EXT_blend_minmax { readonly MAX_EXT: 0x8008; } +interface EXT_clip_control { + clipControlEXT(origin: GLenum, depth: GLenum): void; + readonly LOWER_LEFT_EXT: 0x8CA1; + readonly UPPER_LEFT_EXT: 0x8CA2; + readonly NEGATIVE_ONE_TO_ONE_EXT: 0x935E; + readonly ZERO_TO_ONE_EXT: 0x935F; + readonly CLIP_ORIGIN_EXT: 0x935C; + readonly CLIP_DEPTH_MODE_EXT: 0x935D; +} + /** * The **`EXT_color_buffer_float`** extension is part of WebGL and adds the ability to render a variety of floating point formats. * @@ -3729,6 +3739,10 @@ interface EXT_texture_filter_anisotropic { readonly MAX_TEXTURE_MAX_ANISOTROPY_EXT: 0x84FF; } +interface EXT_texture_mirror_clamp_to_edge { + readonly MIRROR_CLAMP_TO_EDGE_EXT: 0x8743; +} + /** * The **`EXT_texture_norm16`** extension is part of the WebGL API and provides a set of new 16-bit signed normalized and unsigned normalized formats (fixed-point texture, renderbuffer and texture buffer). * @@ -12390,6 +12404,8 @@ declare var WebSocket: { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransport) */ interface WebTransport { + anticipatedConcurrentIncomingBidirectionalStreams: number | null; + anticipatedConcurrentIncomingUnidirectionalStreams: number | null; /** * The **`closed`** read-only property of the WebTransport interface returns a promise that resolves when the transport is closed. * @@ -12436,6 +12452,7 @@ interface WebTransport { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransport/reliability) */ readonly reliability: WebTransportReliabilityMode; + readonly responseHeaders: Headers | null; /** * The **`close()`** method of the WebTransport interface closes an ongoing WebTransport session. * @@ -12516,6 +12533,7 @@ interface WebTransportDatagramDuplexStream { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransportDatagramDuplexStream/incomingMaxAge) */ incomingMaxAge: number | null; + incomingMaxBufferedDatagrams: number; /** * The **`maxDatagramSize`** read-only property of the WebTransportDatagramDuplexStream interface returns the maximum allowable size of outgoing datagrams, in bytes, that can be written to writable. * @@ -12534,6 +12552,7 @@ interface WebTransportDatagramDuplexStream { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransportDatagramDuplexStream/outgoingMaxAge) */ outgoingMaxAge: number | null; + outgoingMaxBufferedDatagrams: number; /** * The **`readable`** read-only property of the WebTransportDatagramDuplexStream interface returns a ReadableStream instance that can be used to unreliably read incoming datagrams from the stream. * diff --git a/baselines/ts5.9/sharedworker.generated.d.ts b/baselines/ts5.9/sharedworker.generated.d.ts index acf42cbc8..e0aeb3359 100644 --- a/baselines/ts5.9/sharedworker.generated.d.ts +++ b/baselines/ts5.9/sharedworker.generated.d.ts @@ -3396,6 +3396,16 @@ interface EXT_blend_minmax { readonly MAX_EXT: 0x8008; } +interface EXT_clip_control { + clipControlEXT(origin: GLenum, depth: GLenum): void; + readonly LOWER_LEFT_EXT: 0x8CA1; + readonly UPPER_LEFT_EXT: 0x8CA2; + readonly NEGATIVE_ONE_TO_ONE_EXT: 0x935E; + readonly ZERO_TO_ONE_EXT: 0x935F; + readonly CLIP_ORIGIN_EXT: 0x935C; + readonly CLIP_DEPTH_MODE_EXT: 0x935D; +} + /** * The **`EXT_color_buffer_float`** extension is part of WebGL and adds the ability to render a variety of floating point formats. * @@ -3491,6 +3501,10 @@ interface EXT_texture_filter_anisotropic { readonly MAX_TEXTURE_MAX_ANISOTROPY_EXT: 0x84FF; } +interface EXT_texture_mirror_clamp_to_edge { + readonly MIRROR_CLAMP_TO_EDGE_EXT: 0x8743; +} + /** * The **`EXT_texture_norm16`** extension is part of the WebGL API and provides a set of new 16-bit signed normalized and unsigned normalized formats (fixed-point texture, renderbuffer and texture buffer). * @@ -11895,6 +11909,8 @@ declare var WebSocket: { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransport) */ interface WebTransport { + anticipatedConcurrentIncomingBidirectionalStreams: number | null; + anticipatedConcurrentIncomingUnidirectionalStreams: number | null; /** * The **`closed`** read-only property of the WebTransport interface returns a promise that resolves when the transport is closed. * @@ -11941,6 +11957,7 @@ interface WebTransport { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransport/reliability) */ readonly reliability: WebTransportReliabilityMode; + readonly responseHeaders: Headers | null; /** * The **`close()`** method of the WebTransport interface closes an ongoing WebTransport session. * @@ -12021,6 +12038,7 @@ interface WebTransportDatagramDuplexStream { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransportDatagramDuplexStream/incomingMaxAge) */ incomingMaxAge: number | null; + incomingMaxBufferedDatagrams: number; /** * The **`maxDatagramSize`** read-only property of the WebTransportDatagramDuplexStream interface returns the maximum allowable size of outgoing datagrams, in bytes, that can be written to writable. * @@ -12039,6 +12057,7 @@ interface WebTransportDatagramDuplexStream { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransportDatagramDuplexStream/outgoingMaxAge) */ outgoingMaxAge: number | null; + outgoingMaxBufferedDatagrams: number; /** * The **`readable`** read-only property of the WebTransportDatagramDuplexStream interface returns a ReadableStream instance that can be used to unreliably read incoming datagrams from the stream. * diff --git a/baselines/ts5.9/webworker.generated.d.ts b/baselines/ts5.9/webworker.generated.d.ts index 4c4e5b5cb..26d1ab252 100644 --- a/baselines/ts5.9/webworker.generated.d.ts +++ b/baselines/ts5.9/webworker.generated.d.ts @@ -4185,6 +4185,16 @@ interface EXT_blend_minmax { readonly MAX_EXT: 0x8008; } +interface EXT_clip_control { + clipControlEXT(origin: GLenum, depth: GLenum): void; + readonly LOWER_LEFT_EXT: 0x8CA1; + readonly UPPER_LEFT_EXT: 0x8CA2; + readonly NEGATIVE_ONE_TO_ONE_EXT: 0x935E; + readonly ZERO_TO_ONE_EXT: 0x935F; + readonly CLIP_ORIGIN_EXT: 0x935C; + readonly CLIP_DEPTH_MODE_EXT: 0x935D; +} + /** * The **`EXT_color_buffer_float`** extension is part of WebGL and adds the ability to render a variety of floating point formats. * @@ -4280,6 +4290,10 @@ interface EXT_texture_filter_anisotropic { readonly MAX_TEXTURE_MAX_ANISOTROPY_EXT: 0x84FF; } +interface EXT_texture_mirror_clamp_to_edge { + readonly MIRROR_CLAMP_TO_EDGE_EXT: 0x8743; +} + /** * The **`EXT_texture_norm16`** extension is part of the WebGL API and provides a set of new 16-bit signed normalized and unsigned normalized formats (fixed-point texture, renderbuffer and texture buffer). * @@ -13974,6 +13988,8 @@ declare var WebSocket: { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransport) */ interface WebTransport { + anticipatedConcurrentIncomingBidirectionalStreams: number | null; + anticipatedConcurrentIncomingUnidirectionalStreams: number | null; /** * The **`closed`** read-only property of the WebTransport interface returns a promise that resolves when the transport is closed. * @@ -14020,6 +14036,7 @@ interface WebTransport { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransport/reliability) */ readonly reliability: WebTransportReliabilityMode; + readonly responseHeaders: Headers | null; /** * The **`close()`** method of the WebTransport interface closes an ongoing WebTransport session. * @@ -14100,6 +14117,7 @@ interface WebTransportDatagramDuplexStream { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransportDatagramDuplexStream/incomingMaxAge) */ incomingMaxAge: number | null; + incomingMaxBufferedDatagrams: number; /** * The **`maxDatagramSize`** read-only property of the WebTransportDatagramDuplexStream interface returns the maximum allowable size of outgoing datagrams, in bytes, that can be written to writable. * @@ -14118,6 +14136,7 @@ interface WebTransportDatagramDuplexStream { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransportDatagramDuplexStream/outgoingMaxAge) */ outgoingMaxAge: number | null; + outgoingMaxBufferedDatagrams: number; /** * The **`readable`** read-only property of the WebTransportDatagramDuplexStream interface returns a ReadableStream instance that can be used to unreliably read incoming datagrams from the stream. * diff --git a/baselines/webworker.generated.d.ts b/baselines/webworker.generated.d.ts index 9d7724da2..64b7cc288 100644 --- a/baselines/webworker.generated.d.ts +++ b/baselines/webworker.generated.d.ts @@ -4188,6 +4188,16 @@ interface EXT_blend_minmax { readonly MAX_EXT: 0x8008; } +interface EXT_clip_control { + clipControlEXT(origin: GLenum, depth: GLenum): void; + readonly LOWER_LEFT_EXT: 0x8CA1; + readonly UPPER_LEFT_EXT: 0x8CA2; + readonly NEGATIVE_ONE_TO_ONE_EXT: 0x935E; + readonly ZERO_TO_ONE_EXT: 0x935F; + readonly CLIP_ORIGIN_EXT: 0x935C; + readonly CLIP_DEPTH_MODE_EXT: 0x935D; +} + /** * The **`EXT_color_buffer_float`** extension is part of WebGL and adds the ability to render a variety of floating point formats. * @@ -4283,6 +4293,10 @@ interface EXT_texture_filter_anisotropic { readonly MAX_TEXTURE_MAX_ANISOTROPY_EXT: 0x84FF; } +interface EXT_texture_mirror_clamp_to_edge { + readonly MIRROR_CLAMP_TO_EDGE_EXT: 0x8743; +} + /** * The **`EXT_texture_norm16`** extension is part of the WebGL API and provides a set of new 16-bit signed normalized and unsigned normalized formats (fixed-point texture, renderbuffer and texture buffer). * @@ -13977,6 +13991,8 @@ declare var WebSocket: { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransport) */ interface WebTransport { + anticipatedConcurrentIncomingBidirectionalStreams: number | null; + anticipatedConcurrentIncomingUnidirectionalStreams: number | null; /** * The **`closed`** read-only property of the WebTransport interface returns a promise that resolves when the transport is closed. * @@ -14023,6 +14039,7 @@ interface WebTransport { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransport/reliability) */ readonly reliability: WebTransportReliabilityMode; + readonly responseHeaders: Headers | null; /** * The **`close()`** method of the WebTransport interface closes an ongoing WebTransport session. * @@ -14103,6 +14120,7 @@ interface WebTransportDatagramDuplexStream { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransportDatagramDuplexStream/incomingMaxAge) */ incomingMaxAge: number | null; + incomingMaxBufferedDatagrams: number; /** * The **`maxDatagramSize`** read-only property of the WebTransportDatagramDuplexStream interface returns the maximum allowable size of outgoing datagrams, in bytes, that can be written to writable. * @@ -14121,6 +14139,7 @@ interface WebTransportDatagramDuplexStream { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransportDatagramDuplexStream/outgoingMaxAge) */ outgoingMaxAge: number | null; + outgoingMaxBufferedDatagrams: number; /** * The **`readable`** read-only property of the WebTransportDatagramDuplexStream interface returns a ReadableStream instance that can be used to unreliably read incoming datagrams from the stream. * diff --git a/inputfiles/patches/speech.kdl b/inputfiles/patches/speech.kdl new file mode 100644 index 000000000..58b223f0a --- /dev/null +++ b/inputfiles/patches/speech.kdl @@ -0,0 +1,2 @@ +// Blink has it in a different name webkitSpeechGrammar as of 2026-11 +interface SpeechGrammar exposed=Window diff --git a/package-lock.json b/package-lock.json index b3202cb9c..98ac4e097 100644 --- a/package-lock.json +++ b/package-lock.json @@ -365,9 +365,9 @@ "license": "MIT" }, "node_modules/@mdn/browser-compat-data": { - "version": "8.1.7", - "resolved": "https://registry.npmjs.org/@mdn/browser-compat-data/-/browser-compat-data-8.1.7.tgz", - "integrity": "sha512-TJ+rX530bFoE8678PuH2gjCSzwpBcaLlcElRhnnxFdkLHHT1clUAxtjImPFZDAlWQ005px9xaJ4Nd+aQp/rylQ==", + "version": "8.1.8", + "resolved": "https://registry.npmjs.org/@mdn/browser-compat-data/-/browser-compat-data-8.1.8.tgz", + "integrity": "sha512-+RK7inkLeZ70kr9Mo+Y81JjZMpQIt0Sx40tHHU0hXGDSdf9YvlawH+4WlUpP3SE8rFLmjqGiTzL+qPPPnncWDw==", "dev": true, "license": "CC0-1.0" },