@@ -750,6 +750,10 @@ interface MediaQueryListEventInit extends EventInit {
750750 media?: string;
751751}
752752
753+ interface MediaRecorderErrorEventInit extends EventInit {
754+ error: DOMException;
755+ }
756+
753757interface MediaRecorderOptions {
754758 audioBitsPerSecond?: number;
755759 bitsPerSecond?: number;
@@ -1615,6 +1619,11 @@ interface ShareData {
16151619 url?: string;
16161620}
16171621
1622+ interface SpeechRecognitionErrorEventInit extends EventInit {
1623+ error: SpeechRecognitionErrorCode;
1624+ message?: string;
1625+ }
1626+
16181627interface SpeechSynthesisErrorEventInit extends SpeechSynthesisEventInit {
16191628 error: SpeechSynthesisErrorCode;
16201629}
@@ -2163,6 +2172,15 @@ declare var AudioDestinationNode: {
21632172
21642173/** The position and orientation of the unique person listening to the audio scene, and is used in audio spatialization. All PannerNodes spatialize in relation to the AudioListener stored in the BaseAudioContext.listener attribute. */
21652174interface AudioListener {
2175+ readonly forwardX: AudioParam;
2176+ readonly forwardY: AudioParam;
2177+ readonly forwardZ: AudioParam;
2178+ readonly positionX: AudioParam;
2179+ readonly positionY: AudioParam;
2180+ readonly positionZ: AudioParam;
2181+ readonly upX: AudioParam;
2182+ readonly upY: AudioParam;
2183+ readonly upZ: AudioParam;
21662184 /** @deprecated */
21672185 setOrientation(x: number, y: number, z: number, xUp: number, yUp: number, zUp: number): void;
21682186 /** @deprecated */
@@ -2200,10 +2218,12 @@ declare var AudioNode: {
22002218
22012219/** The Web Audio API's AudioParam interface represents an audio-related parameter, usually a parameter of an AudioNode (such as GainNode.gain). */
22022220interface AudioParam {
2221+ automationRate: AutomationRate;
22032222 readonly defaultValue: number;
22042223 readonly maxValue: number;
22052224 readonly minValue: number;
22062225 value: number;
2226+ cancelAndHoldAtTime(cancelTime: number): AudioParam;
22072227 cancelScheduledValues(cancelTime: number): AudioParam;
22082228 exponentialRampToValueAtTime(value: number, endTime: number): AudioParam;
22092229 linearRampToValueAtTime(value: number, endTime: number): AudioParam;
@@ -2412,6 +2432,7 @@ declare var Blob: {
24122432
24132433interface BlobEvent extends Event {
24142434 readonly data: Blob;
2435+ readonly timecode: DOMHighResTimeStamp;
24152436}
24162437
24172438declare var BlobEvent: {
@@ -2934,6 +2955,7 @@ interface CSSStyleDeclaration {
29342955 scrollMarginBlockEnd: string;
29352956 scrollMarginBlockStart: string;
29362957 scrollMarginBottom: string;
2958+ scrollMarginInline: string;
29372959 scrollMarginInlineEnd: string;
29382960 scrollMarginInlineStart: string;
29392961 scrollMarginLeft: string;
@@ -4450,6 +4472,7 @@ interface Document extends Node, DocumentAndElementEventHandlers, DocumentOrShad
44504472 createEvent(eventInterface: "MediaEncryptedEvent"): MediaEncryptedEvent;
44514473 createEvent(eventInterface: "MediaKeyMessageEvent"): MediaKeyMessageEvent;
44524474 createEvent(eventInterface: "MediaQueryListEvent"): MediaQueryListEvent;
4475+ createEvent(eventInterface: "MediaRecorderErrorEvent"): MediaRecorderErrorEvent;
44534476 createEvent(eventInterface: "MediaStreamTrackEvent"): MediaStreamTrackEvent;
44544477 createEvent(eventInterface: "MessageEvent"): MessageEvent;
44554478 createEvent(eventInterface: "MouseEvent"): MouseEvent;
@@ -4469,6 +4492,7 @@ interface Document extends Node, DocumentAndElementEventHandlers, DocumentOrShad
44694492 createEvent(eventInterface: "RTCPeerConnectionIceEvent"): RTCPeerConnectionIceEvent;
44704493 createEvent(eventInterface: "RTCTrackEvent"): RTCTrackEvent;
44714494 createEvent(eventInterface: "SecurityPolicyViolationEvent"): SecurityPolicyViolationEvent;
4495+ createEvent(eventInterface: "SpeechRecognitionErrorEvent"): SpeechRecognitionErrorEvent;
44724496 createEvent(eventInterface: "SpeechSynthesisErrorEvent"): SpeechSynthesisErrorEvent;
44734497 createEvent(eventInterface: "SpeechSynthesisEvent"): SpeechSynthesisEvent;
44744498 createEvent(eventInterface: "StorageEvent"): StorageEvent;
@@ -4766,6 +4790,13 @@ interface EXT_sRGB {
47664790interface EXT_shader_texture_lod {
47674791}
47684792
4793+ interface EXT_texture_compression_rgtc {
4794+ readonly COMPRESSED_RED_GREEN_RGTC2_EXT: GLenum;
4795+ readonly COMPRESSED_RED_RGTC1_EXT: GLenum;
4796+ readonly COMPRESSED_SIGNED_RED_GREEN_RGTC2_EXT: GLenum;
4797+ readonly COMPRESSED_SIGNED_RED_RGTC1_EXT: GLenum;
4798+ }
4799+
47694800/** The EXT_texture_filter_anisotropic extension is part of the WebGL API and exposes two constants for anisotropic filtering (AF). */
47704801interface EXT_texture_filter_anisotropic {
47714802 readonly MAX_TEXTURE_MAX_ANISOTROPY_EXT: GLenum;
@@ -9796,6 +9827,15 @@ declare var MediaRecorder: {
97969827 isTypeSupported(type: string): boolean;
97979828};
97989829
9830+ interface MediaRecorderErrorEvent extends Event {
9831+ readonly error: DOMException;
9832+ }
9833+
9834+ declare var MediaRecorderErrorEvent: {
9835+ readonly prototype: MediaRecorderErrorEvent;
9836+ new(type: string, eventInitDict: MediaRecorderErrorEventInit): MediaRecorderErrorEvent;
9837+ };
9838+
97999839interface MediaSession {
98009840 metadata: MediaMetadata | null;
98019841 playbackState: MediaSessionPlaybackState;
@@ -10619,6 +10659,9 @@ declare var Notification: {
1061910659interface OES_element_index_uint {
1062010660}
1062110661
10662+ interface OES_fbo_render_mipmap {
10663+ }
10664+
1062210665/** The OES_standard_derivatives extension is part of the WebGL API and adds the GLSL derivative functions dFdx, dFdy, and fwidth. */
1062310666interface OES_standard_derivatives {
1062410667 readonly FRAGMENT_SHADER_DERIVATIVE_HINT_OES: GLenum;
@@ -10677,6 +10720,7 @@ interface OfflineAudioContext extends BaseAudioContext {
1067710720 oncomplete: ((this: OfflineAudioContext, ev: OfflineAudioCompletionEvent) => any) | null;
1067810721 resume(): Promise<void>;
1067910722 startRendering(): Promise<AudioBuffer>;
10723+ suspend(suspendTime: number): Promise<void>;
1068010724 addEventListener<K extends keyof OfflineAudioContextEventMap>(type: K, listener: (this: OfflineAudioContext, ev: OfflineAudioContextEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
1068110725 addEventListener(type: string, listener: EventListener, options?: boolean | AddEventListenerOptions): void;
1068210726 removeEventListener<K extends keyof OfflineAudioContextEventMap>(type: K, listener: (this: OfflineAudioContext, ev: OfflineAudioContextEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
@@ -10971,6 +11015,7 @@ declare var PerformanceEntry: {
1097111015
1097211016/** PerformanceMark is an abstract interface for PerformanceEntry objects with an entryType of "mark". Entries of this type are created by calling performance.mark() to add a named DOMHighResTimeStamp (the mark) to the browser's performance timeline. */
1097311017interface PerformanceMark extends PerformanceEntry {
11018+ readonly detail: any;
1097411019}
1097511020
1097611021declare var PerformanceMark: {
@@ -10980,6 +11025,7 @@ declare var PerformanceMark: {
1098011025
1098111026/** PerformanceMeasure is an abstract interface for PerformanceEntry objects with an entryType of "measure". Entries of this type are created by calling performance.measure() to add a named DOMHighResTimeStamp (the measure) between two marks to the browser's performance timeline. */
1098211027interface PerformanceMeasure extends PerformanceEntry {
11028+ readonly detail: any;
1098311029}
1098411030
1098511031declare var PerformanceMeasure: {
@@ -11497,9 +11543,19 @@ declare var RTCDtlsTransport: {
1149711543
1149811544/** The RTCIceCandidate interface—part of the WebRTC API—represents a candidate Internet Connectivity Establishment (ICE) configuration which may be used to establish an RTCPeerConnection. */
1149911545interface RTCIceCandidate {
11546+ readonly address: string | null;
1150011547 readonly candidate: string;
11548+ readonly component: RTCIceComponent | null;
11549+ readonly foundation: string | null;
11550+ readonly port: number | null;
11551+ readonly priority: number | null;
11552+ readonly protocol: RTCIceProtocol | null;
11553+ readonly relatedAddress: string | null;
11554+ readonly relatedPort: number | null;
1150111555 readonly sdpMLineIndex: number | null;
1150211556 readonly sdpMid: string | null;
11557+ readonly tcpType: RTCIceTcpCandidateType | null;
11558+ readonly type: RTCIceCandidateType | null;
1150311559 readonly usernameFragment: string | null;
1150411560 toJSON(): RTCIceCandidateInit;
1150511561}
@@ -11626,6 +11682,7 @@ interface RTCRtpSender {
1162611682 getStats(): Promise<RTCStatsReport>;
1162711683 replaceTrack(withTrack: MediaStreamTrack | null): Promise<void>;
1162811684 setParameters(parameters: RTCRtpSendParameters): Promise<void>;
11685+ setStreams(...streams: MediaStream[]): void;
1162911686}
1163011687
1163111688declare var RTCRtpSender: {
@@ -13940,6 +13997,49 @@ declare var SourceBufferList: {
1394013997 new(): SourceBufferList;
1394113998};
1394213999
14000+ interface SpeechRecognitionAlternative {
14001+ readonly confidence: number;
14002+ readonly transcript: string;
14003+ }
14004+
14005+ declare var SpeechRecognitionAlternative: {
14006+ readonly prototype: SpeechRecognitionAlternative;
14007+ new(): SpeechRecognitionAlternative;
14008+ };
14009+
14010+ interface SpeechRecognitionErrorEvent extends Event {
14011+ readonly error: SpeechRecognitionErrorCode;
14012+ readonly message: string;
14013+ }
14014+
14015+ declare var SpeechRecognitionErrorEvent: {
14016+ readonly prototype: SpeechRecognitionErrorEvent;
14017+ new(type: string, eventInitDict: SpeechRecognitionErrorEventInit): SpeechRecognitionErrorEvent;
14018+ };
14019+
14020+ interface SpeechRecognitionResult {
14021+ readonly isFinal: boolean;
14022+ readonly length: number;
14023+ item(index: number): SpeechRecognitionAlternative;
14024+ [index: number]: SpeechRecognitionAlternative;
14025+ }
14026+
14027+ declare var SpeechRecognitionResult: {
14028+ readonly prototype: SpeechRecognitionResult;
14029+ new(): SpeechRecognitionResult;
14030+ };
14031+
14032+ interface SpeechRecognitionResultList {
14033+ readonly length: number;
14034+ item(index: number): SpeechRecognitionResult;
14035+ [index: number]: SpeechRecognitionResult;
14036+ }
14037+
14038+ declare var SpeechRecognitionResultList: {
14039+ readonly prototype: SpeechRecognitionResultList;
14040+ new(): SpeechRecognitionResultList;
14041+ };
14042+
1394314043interface SpeechSynthesisEventMap {
1394414044 "voiceschanged": Event;
1394514045}
@@ -14723,7 +14823,10 @@ declare var URLSearchParams: {
1472314823interface VTTCue extends TextTrackCue {
1472414824 align: AlignSetting;
1472514825 line: LineAndPositionSetting;
14826+ lineAlign: LineAlignSetting;
1472614827 position: LineAndPositionSetting;
14828+ positionAlign: PositionAlignSetting;
14829+ region: VTTRegion | null;
1472714830 size: number;
1472814831 snapToLines: boolean;
1472914832 text: string;
@@ -18507,6 +18610,7 @@ type AudioContextState = "closed" | "running" | "suspended";
1850718610type AuthenticatorAttachment = "cross-platform" | "platform";
1850818611type AuthenticatorTransport = "ble" | "internal" | "nfc" | "usb";
1850918612type AutoKeyword = "auto";
18613+ type AutomationRate = "a-rate" | "k-rate";
1851018614type BinaryType = "arraybuffer" | "blob";
1851118615type BiquadFilterType = "allpass" | "bandpass" | "highpass" | "highshelf" | "lowpass" | "lowshelf" | "notch" | "peaking";
1851218616type CanPlayTypeResult = "" | "maybe" | "probably";
@@ -18547,6 +18651,7 @@ type ImageSmoothingQuality = "high" | "low" | "medium";
1854718651type KeyFormat = "jwk" | "pkcs8" | "raw" | "spki";
1854818652type KeyType = "private" | "public" | "secret";
1854918653type KeyUsage = "decrypt" | "deriveBits" | "deriveKey" | "encrypt" | "sign" | "unwrapKey" | "verify" | "wrapKey";
18654+ type LineAlignSetting = "center" | "end" | "start";
1855018655type MediaDecodingType = "file" | "media-source" | "webrtc";
1855118656type MediaDeviceKind = "audioinput" | "audiooutput" | "videoinput";
1855218657type MediaEncodingType = "record" | "webrtc";
@@ -18570,6 +18675,7 @@ type PaymentShippingType = "delivery" | "pickup" | "shipping";
1857018675type PermissionName = "geolocation" | "notifications" | "persistent-storage" | "push";
1857118676type PermissionState = "denied" | "granted" | "prompt";
1857218677type PlaybackDirection = "alternate" | "alternate-reverse" | "normal" | "reverse";
18678+ type PositionAlignSetting = "auto" | "center" | "line-left" | "line-right";
1857318679type PremultiplyAlpha = "default" | "none" | "premultiply";
1857418680type PresentationStyle = "attachment" | "inline" | "unspecified";
1857518681type PublicKeyCredentialType = "public-key";
@@ -18579,10 +18685,14 @@ type RTCBundlePolicy = "balanced" | "max-bundle" | "max-compat";
1857918685type RTCDataChannelState = "closed" | "closing" | "connecting" | "open";
1858018686type RTCDegradationPreference = "balanced" | "maintain-framerate" | "maintain-resolution";
1858118687type RTCDtlsTransportState = "closed" | "connected" | "connecting" | "failed" | "new";
18688+ type RTCIceCandidateType = "host" | "prflx" | "relay" | "srflx";
18689+ type RTCIceComponent = "rtcp" | "rtp";
1858218690type RTCIceConnectionState = "checking" | "closed" | "completed" | "connected" | "disconnected" | "failed" | "new";
1858318691type RTCIceCredentialType = "password";
1858418692type RTCIceGathererState = "complete" | "gathering" | "new";
1858518693type RTCIceGatheringState = "complete" | "gathering" | "new";
18694+ type RTCIceProtocol = "tcp" | "udp";
18695+ type RTCIceTcpCandidateType = "active" | "passive" | "so";
1858618696type RTCIceTransportPolicy = "all" | "relay";
1858718697type RTCIceTransportState = "checking" | "closed" | "completed" | "connected" | "disconnected" | "failed" | "new";
1858818698type RTCPeerConnectionState = "closed" | "connected" | "connecting" | "disconnected" | "failed" | "new";
@@ -18616,6 +18726,7 @@ type ServiceWorkerState = "activated" | "activating" | "installed" | "installing
1861618726type ServiceWorkerUpdateViaCache = "all" | "imports" | "none";
1861718727type ShadowRootMode = "closed" | "open";
1861818728type SlotAssignmentMode = "manual" | "named";
18729+ type SpeechRecognitionErrorCode = "aborted" | "audio-capture" | "bad-grammar" | "language-not-supported" | "network" | "no-speech" | "not-allowed" | "service-not-allowed";
1861918730type SpeechSynthesisErrorCode = "audio-busy" | "audio-hardware" | "canceled" | "interrupted" | "invalid-argument" | "language-unavailable" | "network" | "not-allowed" | "synthesis-failed" | "synthesis-unavailable" | "text-too-long" | "voice-unavailable";
1862018731type TextTrackKind = "captions" | "chapters" | "descriptions" | "metadata" | "subtitles";
1862118732type TextTrackMode = "disabled" | "hidden" | "showing";
0 commit comments