diff --git a/baselines/audioworklet.generated.d.ts b/baselines/audioworklet.generated.d.ts index dc7ea4402..3cf0bca49 100644 --- a/baselines/audioworklet.generated.d.ts +++ b/baselines/audioworklet.generated.d.ts @@ -1569,25 +1569,25 @@ declare namespace WebAssembly { }; /** - * The **`WebAssembly.Exception`** object represents a runtime exception thrown from WebAssembly to JavaScript, or thrown from JavaScript to a WebAssembly exception handler. + * The **`WebAssembly.Exception`** object represents a runtime exception thrown in a Wasm module. * * [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/Exception) */ interface Exception { /** - * The read-only **`stack`** property of an object instance of type WebAssembly.Exception may contain a stack trace. + * The **`stack`** read-only property of the WebAssembly.Exception object may contain a stack trace. * * [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/Exception/stack) */ readonly stack: string | undefined; /** - * The **`getArg()`** prototype method of the Exception object can be used to get the value of a specified item in the exception's data arguments. + * The **`getArg()`** method of the Exception object can be used to get the value of a specified item in the exception's data arguments. * * [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/Exception/getArg) */ getArg(exceptionTag: Tag, index: number): any; /** - * The **`is()`** prototype method of the Exception object can be used to test if the Exception matches a given tag. + * The **`is()`** method of the Exception object can be used to test if the Exception matches a given tag. * * [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/Exception/is) */ @@ -1755,7 +1755,7 @@ declare namespace WebAssembly { }; /** - * The **`WebAssembly.Tag`** object defines a type of a WebAssembly exception that can be thrown to/from WebAssembly code. + * The **`WebAssembly.Tag`** object represents a WebAssembly exception type that can be thrown in a Wasm module. * * [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/Tag) */ diff --git a/baselines/dom.generated.d.ts b/baselines/dom.generated.d.ts index 7895a1662..16759ba16 100644 --- a/baselines/dom.generated.d.ts +++ b/baselines/dom.generated.d.ts @@ -219,6 +219,7 @@ interface AuthenticationExtensionsClientOutputs { hmacCreateSecret?: boolean; largeBlob?: AuthenticationExtensionsLargeBlobOutputs; prf?: AuthenticationExtensionsPRFOutputs; + remoteClientDataJSON?: boolean; } interface AuthenticationExtensionsClientOutputsJSON { @@ -226,6 +227,7 @@ interface AuthenticationExtensionsClientOutputsJSON { credProps?: CredentialPropertiesOutput; largeBlob?: AuthenticationExtensionsLargeBlobOutputsJSON; prf?: AuthenticationExtensionsPRFOutputsJSON; + remoteClientDataJSON?: boolean; } interface AuthenticationExtensionsLargeBlobInputs { @@ -818,6 +820,7 @@ interface FormDataEventInit extends EventInit { } interface FullscreenOptions { + keyboardLock?: FullscreenKeyboardLock; navigationUI?: FullscreenNavigationUI; } @@ -1000,6 +1003,7 @@ interface GPUPipelineErrorInit { interface GPUPipelineLayoutDescriptor extends GPUObjectDescriptorBase { bindGroupLayouts: (GPUBindGroupLayout | null)[]; + immediateSize?: GPUSize32; } interface GPUPrimitiveState { @@ -1748,6 +1752,13 @@ interface NavigationUpdateCurrentEntryOptions { state: any; } +interface NotificationAction { + action: string; + icon?: string; + navigate?: string; + title: string; +} + interface NotificationOptions { badge?: string; body?: string; @@ -5343,13 +5354,13 @@ declare var CSSConditionRule: { */ interface CSSContainerRule extends CSSConditionRule { /** - * The read-only **`containerName`** property of the CSSContainerRule interface represents the container name of the associated CSS @container at-rule. + * The read-only **`containerName`** property of the CSSContainerRule interface represents the name of the container condition for a container rule that only defines one container condition. If there are multiple container conditions, the value is set to the empty string. * * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSContainerRule/containerName) */ readonly containerName: string; /** - * The read-only **`containerQuery`** property of the CSSContainerRule interface returns a string representing the container conditions that are evaluated when the container changes size in order to determine if the styles in the associated @container are applied. + * The read-only **`containerQuery`** property of the CSSContainerRule interface represents the query part of the container condition for a container rule that only defines one container condition. If there are multiple container conditions, the value is set to the empty string. * * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSContainerRule/containerQuery) */ @@ -8703,7 +8714,7 @@ interface CSSStyleProperties extends CSSStyleDeclarationBase { */ position: string; /** - * The position-anchor CSS property specifies the anchor name of the anchor element (i.e., an element that has an anchor name set on it via the anchor-name property) a positioned element is associated with. + * The position-anchor CSS property specifies the default anchor element for a positioned element. This default is used by position-area and position-try, and by anchor functions (anchor() and anchor-size()) when no argument is provided to those functions. * * [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/position-anchor) */ @@ -9411,7 +9422,7 @@ interface CSSStyleProperties extends CSSStyleDeclarationBase { */ viewTimelineName: string; /** - * The view-transition-class CSS property provides the selected elements with an identifying class (a ), providing an additional method of styling the view transitions for those elements. + * The view-transition-class CSS property provides the selected elements with one or more identifying classes (s), providing an additional method of styling the view transitions for those elements. * * [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/view-transition-class) */ @@ -12724,7 +12735,7 @@ declare var DeviceOrientationEvent: { /** Available only in secure contexts. */ interface DigitalCredential extends Credential { readonly data: any; - readonly protocol: string; + readonly protocol: DigitalCredentialProtocol; toJSON(): any; } @@ -13587,7 +13598,7 @@ declare var DragEvent: { }; /** - * The **`DynamicsCompressorNode`** interface provides a compression effect, which lowers the volume of the loudest parts of the signal in order to help prevent clipping and distortion that can occur when multiple sounds are played and multiplexed together at once. This is often used in musical production and game audio. DynamicsCompressorNode is an AudioNode that has exactly one input and one output. + * The **`DynamicsCompressorNode`** interface provides a compression effect, which lowers the volume of the loudest parts of a signal. Compression can help prevent clipping and distortion when multiple sounds are combined, and it is also used in music production and game audio for dynamic control, tone shaping, and creative effects. DynamicsCompressorNode is an AudioNode that has exactly one input and one output. * * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DynamicsCompressorNode) */ @@ -13908,7 +13919,7 @@ interface Element extends Node, ARIAMixin, Animatable, ChildNode, NonDocumentTyp */ readonly tagName: string; /** - * The **`Element.attachShadow()`** method attaches a shadow DOM tree to the specified element and returns a reference to its ShadowRoot. + * The **`attachShadow()`** method of the Element interface attaches a shadow DOM tree to the specified element and returns a reference to its ShadowRoot. * * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/attachShadow) */ @@ -14084,7 +14095,7 @@ interface Element extends Node, ARIAMixin, Animatable, ChildNode, NonDocumentTyp */ removeAttributeNode(attr: Attr): Attr; /** - * The **`Element.requestFullscreen()`** method issues an asynchronous request to make the element be displayed in fullscreen mode. + * The **`requestFullscreen()`** method of the Element interface issues an asynchronous request to display the element in fullscreen mode. * * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/requestFullscreen) */ @@ -17311,12 +17322,6 @@ interface HTMLAnchorElement extends HTMLElement, HTMLHyperlinkElementUtils, Hype * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/download) */ download: string; - /** - * The **`hreflang`** property of the HTMLAnchorElement interface is a string that is the language of the linked resource. - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/hreflang) - */ - hreflang: string; /** @deprecated */ name: string; /** @@ -17348,24 +17353,12 @@ interface HTMLAnchorElement extends HTMLElement, HTMLHyperlinkElementUtils, Hype rev: string; /** @deprecated */ shape: string; - /** - * The **`target`** property of the HTMLAnchorElement interface is a string that indicates where to display the linked resource. - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/target) - */ - target: string; /** * The **`text`** property of the HTMLAnchorElement represents the text inside the element. This property represents the same information as Node.textContent. * * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/text) */ text: string; - /** - * The **`type`** property of the HTMLAnchorElement interface is a string that indicates the MIME type of the linked resource. - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/type) - */ - type: string; addEventListener(type: K, listener: (this: HTMLAnchorElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLAnchorElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; @@ -17434,12 +17427,6 @@ interface HTMLAreaElement extends HTMLElement, HTMLHyperlinkElementUtils, Hyperl * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAreaElement/shape) */ shape: string; - /** - * The **`target`** property of the HTMLAreaElement interface is a string that indicates where to display the linked resource. - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAreaElement/target) - */ - target: string; addEventListener(type: K, listener: (this: HTMLAreaElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLAreaElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; @@ -18643,6 +18630,8 @@ interface HTMLHyperlinkElementUtils { */ href: string; toString(): string; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/target) */ + target: string; } /** @@ -19141,7 +19130,7 @@ interface HTMLInputElement extends HTMLElement, PopoverTargetAttributes { */ selectionEnd: number | null; /** - * The **`selectionStart`** property of the HTMLInputElement interface is a number that represents the beginning index of the selected text. When nothing is selected, then returns the position of the text input cursor (caret) inside of the element. + * The **`selectionStart`** property of the HTMLInputElement interface is a number that represents the beginning index of the selected text. When nothing is selected, it returns the position of the text input cursor (caret) inside of the element. * * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/selectionStart) */ @@ -22211,6 +22200,8 @@ interface HyperlinkElementUtils { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/hostname) */ hostname: string; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/hreflang) */ + hreflang: string; /** * Returns the hyperlink's URL's origin. * @@ -22257,6 +22248,8 @@ interface HyperlinkElementUtils { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/search) */ search: string; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/type) */ + type: string; /** * Returns the hyperlink's URL's username. * @@ -26046,7 +26039,11 @@ declare var NavigationPreloadManager: { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/NavigationTransition) */ interface NavigationTransition { - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/NavigationTransition/committed) */ + /** + * The **`committed`** read-only property of the NavigationTransition interface returns a Promise that fulfills when Navigation.currentEntry is updated and the new URL is displayed in the browser, marking the navigation as committed. This happens after all precommit handlers for the navigation are fulfilled. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/NavigationTransition/committed) + */ readonly committed: Promise; /** * The **`finished`** read-only property of the NavigationTransition interface returns a Promise that fulfills at the same time the navigatesuccess event fires, or rejects at the same time the navigateerror event fires. @@ -26140,7 +26137,7 @@ interface Navigator extends NavigatorAutomationInformation, NavigatorBadge, Navi */ readonly permissions: Permissions; /** - * The **`serial`** read-only property of the Navigator interface returns a Serial object which represents the entry point into the Web Serial API. + * The **`serial`** read-only property of the Navigator interface returns a Serial object, which represents the entry point into the Web Serial API. * * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/serial) */ @@ -26715,6 +26712,12 @@ interface NotificationEventMap { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Notification) */ interface Notification extends EventTarget { + /** + * The **`actions`** read-only property of the Notification interface provides the actions available for users to select when interacting with the notification. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Notification/actions) + */ + readonly actions: ReadonlyArray; /** * The **`body`** read-only property of the Notification interface indicates the body string of the notification, as specified in the body option of the Notification() constructor. * @@ -26792,6 +26795,12 @@ interface Notification extends EventTarget { declare var Notification: { prototype: Notification; new(title: string, options?: NotificationOptions): Notification; + /** + * The **`maxActions`** read-only static property of the Notification interface returns the maximum number of actions that can be displayed in a notification. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Notification/maxActions_static) + */ + readonly maxActions: number; /** * The **`permission`** read-only static property of the Notification interface indicates the current permission granted by the user for the current origin to display web notifications. * @@ -29515,37 +29524,37 @@ declare var RTCEncodedVideoFrame: { }; /** - * The **`RTCError`** interface describes an error which has occurred while handling WebRTC operations. It's based upon the standard DOMException interface that describes general DOM errors. + * The **`RTCError`** interface of the WebRTC API describes an error which has occurred while handling RTC operations. It's based upon the standard DOMException interface that describes general DOM errors. * * [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCError) */ interface RTCError extends DOMException { /** - * The RTCError interface's read-only **`errorDetail`** property is a string indicating the WebRTC-specific error code that occurred. + * The **`errorDetail`** read-only property of the RTCError interface is a string indicating the WebRTC-specific error code that occurred. * * [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCError/errorDetail) */ readonly errorDetail: RTCErrorDetailType; /** - * The RTCError read-only property **`receivedAlert`** specifies the fatal DTLS error which resulted in an alert being received from the remote peer. + * The **`receivedAlert`** read-only property of the RTCError interface specifies the fatal DTLS error which resulted in an alert being received from the remote peer. * * [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCError/receivedAlert) */ readonly receivedAlert: number | null; /** - * The read-only **`sctpCauseCode`** property in an RTCError object provides the SCTP cause code explaining why the SCTP negotiation failed, if the RTCError represents an SCTP error. + * The **`sctpCauseCode`** read-only property of the RTCError interface provides the SCTP cause code explaining why the SCTP negotiation failed, if the RTCError represents an SCTP error. * * [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCError/sctpCauseCode) */ readonly sctpCauseCode: number | null; /** - * The RTCError interface's read-only property **`sdpLineNumber`** specifies the line number within the SDP at which a syntax error occurred while parsing it. + * The **`sdpLineNumber`** read-only property of the RTCError interface specifies the SDP message line number where a syntax error occurred. * * [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCError/sdpLineNumber) */ readonly sdpLineNumber: number | null; /** - * The read-only **`sentAlert`** property in an RTCError object specifies the DTLS alert number occurred while sending data to the remote peer, if the error represents an outbound DTLS error. + * The **`sentAlert`** read-only property of the RTCError interface specifies the DTLS alert number sent to the remote peer, if the error represents an outbound DTLS error. * * [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCError/sentAlert) */ @@ -29558,13 +29567,13 @@ declare var RTCError: { }; /** - * The WebRTC API's **`RTCErrorEvent`** interface represents an error sent to a WebRTC object. It's based on the standard Event interface, but adds RTC-specific information describing the error, as shown below. + * The **`RTCErrorEvent`** interface of the WebRTC API represents an error event sent to a WebRTC object. It inherits from the standard Event interface, adding RTC-specific information describing the error. * * [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCErrorEvent) */ interface RTCErrorEvent extends Event { /** - * The read-only RTCErrorEvent property **`error`** contains an RTCError object describing the details of the error which the event is announcing. + * The **`error`** read-only property of the RTCErrorEvent interface contains an RTCError object that describes the WebRTC-specific details of the error. * * [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCErrorEvent/error) */ @@ -29978,20 +29987,40 @@ declare var RTCPeerConnection: { }; /** - * The **`RTCPeerConnectionIceErrorEvent`** interface—based upon the Event interface—provides details pertaining to an ICE error announced by sending an icecandidateerror event to the RTCPeerConnection object. + * The **`RTCPeerConnectionIceErrorEvent`** interface of the WebRTC API describes an error that occurred while handling ICE negotiation through a STUN or TURN server. * * [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCPeerConnectionIceErrorEvent) */ interface RTCPeerConnectionIceErrorEvent extends Event { /** - * The RTCPeerConnectionIceErrorEvent property **`address`** is a string which indicates the local IP address being used to communicate with the STUN or TURN server during negotiations. The error which occurred involved this address. + * The **`address`** property of the RTCPeerConnectionIceErrorEvent interface is a string that indicates the local IP address used to communicate with the STUN or TURN server when the error occurred. * * [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCPeerConnectionIceErrorEvent/address) */ readonly address: string | null; + /** + * The **`errorCode`** property of the RTCPeerConnectionIceErrorEvent interface represents the STUN error code returned by the STUN or TURN server if there was an error during ICE negotiation. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCPeerConnectionIceErrorEvent/errorCode) + */ readonly errorCode: number; + /** + * The **`errorText`** property of the RTCPeerConnectionIceErrorEvent interface represents the STUN error reason text returned by the STUN or TURN server if there was an error during ICE negotiation. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCPeerConnectionIceErrorEvent/errorText) + */ readonly errorText: string; + /** + * The **`port`** property of the RTCPeerConnectionIceErrorEvent interface represents the port number over which communication with the STUN or TURN server is taking place. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCPeerConnectionIceErrorEvent/port) + */ readonly port: number | null; + /** + * The **`url`** property of the RTCPeerConnectionIceErrorEvent interface is a string indicating the URL of the STUN or TURN server with which the error occurred. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCPeerConnectionIceErrorEvent/url) + */ readonly url: string; } @@ -35425,13 +35454,13 @@ declare var Selection: { */ interface Serial extends EventTarget { /** - * The **`getPorts()`** method of the Serial interface returns a Promise that resolves with an array of SerialPort objects representing serial ports connected to the host which the origin has permission to access. + * The **`getPorts()`** method of the Serial interface returns a Promise that resolves with an array of SerialPort objects representing serial ports connected to the host that the origin has permission to access. * * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Serial/getPorts) */ getPorts(): Promise; /** - * The **`Serial.requestPort()`** method of the Serial interface presents the user with a dialog asking them to select a serial device to connect to. It returns a Promise that resolves with an instance of SerialPort representing the device chosen by the user. + * The **`requestPort()`** method of the Serial interface presents the user with a dialog asking them to select a serial device to connect to. It returns a Promise that resolves with an instance of SerialPort representing the device chosen by the user. * * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Serial/requestPort) */ @@ -35478,13 +35507,13 @@ interface SerialPort extends EventTarget { */ readonly writable: WritableStream | null; /** - * The **`SerialPort.close()`** method of the SerialPort interface returns a Promise that resolves when the port closes. + * The **`close()`** method of the SerialPort interface returns a Promise that resolves when the port closes. * * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SerialPort/close) */ close(): Promise; /** - * The **`SerialPort.forget()`** method of the SerialPort interface returns a Promise that resolves when access to the serial port is revoked. + * The **`forget()`** method of the SerialPort interface returns a Promise that resolves when access to the serial port is revoked. * * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SerialPort/forget) */ @@ -35496,7 +35525,7 @@ interface SerialPort extends EventTarget { */ getInfo(): SerialPortInfo; /** - * The **`SerialPort.getSignals()`** method of the SerialPort interface returns a Promise that resolves with an object containing the current state of the port's control signals. + * The **`getSignals()`** method of the SerialPort interface returns a Promise that resolves with an object containing the current state of the port's control signals. * * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SerialPort/getSignals) */ @@ -35771,7 +35800,7 @@ interface ShadowRoot extends DocumentFragment, DocumentOrShadowRoot { */ readonly serializable: boolean; /** - * The read-only **`slotAssignment`** property of the ShadowRoot interface returns the slot assignment mode for the shadow DOM tree. Nodes are either automatically assigned (named) or manually assigned (manual). The value of this property defined using the slotAssignment option when calling Element.attachShadow(). + * The read-only **`slotAssignment`** property of the ShadowRoot interface returns the slot assignment mode for the shadow DOM tree. Nodes are either automatically assigned based on name matching (named) or manually assigned (manual). * * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ShadowRoot/slotAssignment) */ @@ -38656,7 +38685,7 @@ interface VisualViewportEventMap { } /** - * The **`VisualViewport`** interface of the CSSOM view API represents the visual viewport for a given window. For a page containing iframes, each iframe, as well as the containing page, will have a unique window object. Each window on a page will have a unique VisualViewport representing the properties associated with that window. + * The **`VisualViewport`** interface of the CSSOM view API represents the visual viewport for a given window. For a page containing frames, each