diff --git a/baselines/dom.generated.d.ts b/baselines/dom.generated.d.ts index a6556cb39..868d43feb 100644 --- a/baselines/dom.generated.d.ts +++ b/baselines/dom.generated.d.ts @@ -204,6 +204,7 @@ interface AuthenticationExtensionsClientInputs { largeBlob?: AuthenticationExtensionsLargeBlobInputs; minPinLength?: boolean; prf?: AuthenticationExtensionsPRFInputs; + remoteClientDataJSON?: string; } interface AuthenticationExtensionsClientInputsJSON { @@ -211,6 +212,7 @@ interface AuthenticationExtensionsClientInputsJSON { credProps?: boolean; largeBlob?: AuthenticationExtensionsLargeBlobInputsJSON; prf?: AuthenticationExtensionsPRFInputsJSON; + remoteClientDataJSON?: string; } interface AuthenticationExtensionsClientOutputs { @@ -219,6 +221,7 @@ interface AuthenticationExtensionsClientOutputs { hmacCreateSecret?: boolean; largeBlob?: AuthenticationExtensionsLargeBlobOutputs; prf?: AuthenticationExtensionsPRFOutputs; + remoteClientDataJson?: boolean; } interface AuthenticationExtensionsClientOutputsJSON { @@ -226,6 +229,7 @@ interface AuthenticationExtensionsClientOutputsJSON { credProps?: CredentialPropertiesOutput; largeBlob?: AuthenticationExtensionsLargeBlobOutputsJSON; prf?: AuthenticationExtensionsPRFOutputsJSON; + remoteClientDataJson?: boolean; } interface AuthenticationExtensionsLargeBlobInputs { @@ -2751,6 +2755,10 @@ interface SerialPortRequestOptions { filters?: SerialPortFilter[]; } +interface SetHTMLOptions { + sanitizer?: Sanitizer | SanitizerConfig | SanitizerPresets; +} + interface ShadowRootInit { clonable?: boolean; customElementRegistry?: CustomElementRegistry | null; @@ -9407,7 +9415,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) */ @@ -14080,7 +14088,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) */ @@ -14142,6 +14150,12 @@ interface Element extends Node, ARIAMixin, Animatable, ChildNode, NonDocumentTyp * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/setAttributeNodeNS) */ setAttributeNodeNS(attr: Attr): Attr | null; + /** + * The **`setHTML()`** method of the Element interface provides an XSS-safe method to parse and sanitize a string of HTML and insert it into the DOM as a subtree of the element. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/setHTML) + */ + setHTML(html: string, options?: SetHTMLOptions): void; /** * The **`setHTMLUnsafe()`** method of the Element interface is used to parse HTML input into a DocumentFragment, optionally filtering out unwanted elements and attributes, and those that don't belong in the context, and then using it to replace the element's subtree in the DOM. * @@ -17987,7 +18001,7 @@ interface HTMLElementEventMap extends ElementEventMap, GlobalEventHandlersEventM * * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement) */ -interface HTMLElement extends Element, ElementCSSInlineStyle, ElementContentEditable, GlobalEventHandlers, HTMLOrSVGElement { +interface HTMLElement extends Element, ElementCSSInlineStyle, ElementContentEditable, GlobalEventHandlers, HTMLOrSVGOrMathMLElement { /** * The **`HTMLElement.accessKey`** property sets the keystroke which a user can press to jump to a given element. * @@ -20312,7 +20326,7 @@ declare var HTMLOptionsCollection: { new(): HTMLOptionsCollection; }; -interface HTMLOrSVGElement { +interface HTMLOrSVGOrMathMLElement { /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/autofocus) */ autofocus: boolean; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/dataset) */ @@ -24036,7 +24050,7 @@ interface MathMLElementEventMap extends ElementEventMap, GlobalEventHandlersEven * * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MathMLElement) */ -interface MathMLElement extends Element, ElementCSSInlineStyle, GlobalEventHandlers, HTMLOrSVGElement { +interface MathMLElement extends Element, ElementCSSInlineStyle, GlobalEventHandlers, HTMLOrSVGOrMathMLElement { addEventListener(type: K, listener: (this: MathMLElement, ev: MathMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: MathMLElement, ev: MathMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; @@ -26033,6 +26047,11 @@ declare var NavigationPreloadManager: { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/NavigationTransition) */ interface NavigationTransition { + /** + * 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. @@ -31828,7 +31847,7 @@ interface SVGElementEventMap extends ElementEventMap, GlobalEventHandlersEventMa * * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGElement) */ -interface SVGElement extends Element, ElementCSSInlineStyle, GlobalEventHandlers, HTMLOrSVGElement { +interface SVGElement extends Element, ElementCSSInlineStyle, GlobalEventHandlers, HTMLOrSVGOrMathMLElement { /** @deprecated */ readonly className: any; /** diff --git a/baselines/ts5.5/dom.generated.d.ts b/baselines/ts5.5/dom.generated.d.ts index e1e2ad25d..79a91fbd7 100644 --- a/baselines/ts5.5/dom.generated.d.ts +++ b/baselines/ts5.5/dom.generated.d.ts @@ -201,6 +201,7 @@ interface AuthenticationExtensionsClientInputs { largeBlob?: AuthenticationExtensionsLargeBlobInputs; minPinLength?: boolean; prf?: AuthenticationExtensionsPRFInputs; + remoteClientDataJSON?: string; } interface AuthenticationExtensionsClientInputsJSON { @@ -208,6 +209,7 @@ interface AuthenticationExtensionsClientInputsJSON { credProps?: boolean; largeBlob?: AuthenticationExtensionsLargeBlobInputsJSON; prf?: AuthenticationExtensionsPRFInputsJSON; + remoteClientDataJSON?: string; } interface AuthenticationExtensionsClientOutputs { @@ -216,6 +218,7 @@ interface AuthenticationExtensionsClientOutputs { hmacCreateSecret?: boolean; largeBlob?: AuthenticationExtensionsLargeBlobOutputs; prf?: AuthenticationExtensionsPRFOutputs; + remoteClientDataJson?: boolean; } interface AuthenticationExtensionsClientOutputsJSON { @@ -223,6 +226,7 @@ interface AuthenticationExtensionsClientOutputsJSON { credProps?: CredentialPropertiesOutput; largeBlob?: AuthenticationExtensionsLargeBlobOutputsJSON; prf?: AuthenticationExtensionsPRFOutputsJSON; + remoteClientDataJson?: boolean; } interface AuthenticationExtensionsLargeBlobInputs { @@ -2748,6 +2752,10 @@ interface SerialPortRequestOptions { filters?: SerialPortFilter[]; } +interface SetHTMLOptions { + sanitizer?: Sanitizer | SanitizerConfig | SanitizerPresets; +} + interface ShadowRootInit { clonable?: boolean; customElementRegistry?: CustomElementRegistry | null; @@ -9397,7 +9405,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) */ @@ -14067,7 +14075,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) */ @@ -14129,6 +14137,12 @@ interface Element extends Node, ARIAMixin, Animatable, ChildNode, NonDocumentTyp * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/setAttributeNodeNS) */ setAttributeNodeNS(attr: Attr): Attr | null; + /** + * The **`setHTML()`** method of the Element interface provides an XSS-safe method to parse and sanitize a string of HTML and insert it into the DOM as a subtree of the element. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/setHTML) + */ + setHTML(html: string, options?: SetHTMLOptions): void; /** * The **`setHTMLUnsafe()`** method of the Element interface is used to parse HTML input into a DocumentFragment, optionally filtering out unwanted elements and attributes, and those that don't belong in the context, and then using it to replace the element's subtree in the DOM. * @@ -17971,7 +17985,7 @@ interface HTMLElementEventMap extends ElementEventMap, GlobalEventHandlersEventM * * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement) */ -interface HTMLElement extends Element, ElementCSSInlineStyle, ElementContentEditable, GlobalEventHandlers, HTMLOrSVGElement { +interface HTMLElement extends Element, ElementCSSInlineStyle, ElementContentEditable, GlobalEventHandlers, HTMLOrSVGOrMathMLElement { /** * The **`HTMLElement.accessKey`** property sets the keystroke which a user can press to jump to a given element. * @@ -20291,7 +20305,7 @@ declare var HTMLOptionsCollection: { new(): HTMLOptionsCollection; }; -interface HTMLOrSVGElement { +interface HTMLOrSVGOrMathMLElement { /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/autofocus) */ autofocus: boolean; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/dataset) */ @@ -24012,7 +24026,7 @@ interface MathMLElementEventMap extends ElementEventMap, GlobalEventHandlersEven * * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MathMLElement) */ -interface MathMLElement extends Element, ElementCSSInlineStyle, GlobalEventHandlers, HTMLOrSVGElement { +interface MathMLElement extends Element, ElementCSSInlineStyle, GlobalEventHandlers, HTMLOrSVGOrMathMLElement { addEventListener(type: K, listener: (this: MathMLElement, ev: MathMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: MathMLElement, ev: MathMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; @@ -26009,6 +26023,11 @@ declare var NavigationPreloadManager: { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/NavigationTransition) */ interface NavigationTransition { + /** + * 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. @@ -31803,7 +31822,7 @@ interface SVGElementEventMap extends ElementEventMap, GlobalEventHandlersEventMa * * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGElement) */ -interface SVGElement extends Element, ElementCSSInlineStyle, GlobalEventHandlers, HTMLOrSVGElement { +interface SVGElement extends Element, ElementCSSInlineStyle, GlobalEventHandlers, HTMLOrSVGOrMathMLElement { /** @deprecated */ readonly className: any; /** diff --git a/baselines/ts5.6/dom.generated.d.ts b/baselines/ts5.6/dom.generated.d.ts index be2edd668..f5bed0236 100644 --- a/baselines/ts5.6/dom.generated.d.ts +++ b/baselines/ts5.6/dom.generated.d.ts @@ -201,6 +201,7 @@ interface AuthenticationExtensionsClientInputs { largeBlob?: AuthenticationExtensionsLargeBlobInputs; minPinLength?: boolean; prf?: AuthenticationExtensionsPRFInputs; + remoteClientDataJSON?: string; } interface AuthenticationExtensionsClientInputsJSON { @@ -208,6 +209,7 @@ interface AuthenticationExtensionsClientInputsJSON { credProps?: boolean; largeBlob?: AuthenticationExtensionsLargeBlobInputsJSON; prf?: AuthenticationExtensionsPRFInputsJSON; + remoteClientDataJSON?: string; } interface AuthenticationExtensionsClientOutputs { @@ -216,6 +218,7 @@ interface AuthenticationExtensionsClientOutputs { hmacCreateSecret?: boolean; largeBlob?: AuthenticationExtensionsLargeBlobOutputs; prf?: AuthenticationExtensionsPRFOutputs; + remoteClientDataJson?: boolean; } interface AuthenticationExtensionsClientOutputsJSON { @@ -223,6 +226,7 @@ interface AuthenticationExtensionsClientOutputsJSON { credProps?: CredentialPropertiesOutput; largeBlob?: AuthenticationExtensionsLargeBlobOutputsJSON; prf?: AuthenticationExtensionsPRFOutputsJSON; + remoteClientDataJson?: boolean; } interface AuthenticationExtensionsLargeBlobInputs { @@ -2748,6 +2752,10 @@ interface SerialPortRequestOptions { filters?: SerialPortFilter[]; } +interface SetHTMLOptions { + sanitizer?: Sanitizer | SanitizerConfig | SanitizerPresets; +} + interface ShadowRootInit { clonable?: boolean; customElementRegistry?: CustomElementRegistry | null; @@ -9404,7 +9412,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) */ @@ -14077,7 +14085,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) */ @@ -14139,6 +14147,12 @@ interface Element extends Node, ARIAMixin, Animatable, ChildNode, NonDocumentTyp * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/setAttributeNodeNS) */ setAttributeNodeNS(attr: Attr): Attr | null; + /** + * The **`setHTML()`** method of the Element interface provides an XSS-safe method to parse and sanitize a string of HTML and insert it into the DOM as a subtree of the element. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/setHTML) + */ + setHTML(html: string, options?: SetHTMLOptions): void; /** * The **`setHTMLUnsafe()`** method of the Element interface is used to parse HTML input into a DocumentFragment, optionally filtering out unwanted elements and attributes, and those that don't belong in the context, and then using it to replace the element's subtree in the DOM. * @@ -17984,7 +17998,7 @@ interface HTMLElementEventMap extends ElementEventMap, GlobalEventHandlersEventM * * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement) */ -interface HTMLElement extends Element, ElementCSSInlineStyle, ElementContentEditable, GlobalEventHandlers, HTMLOrSVGElement { +interface HTMLElement extends Element, ElementCSSInlineStyle, ElementContentEditable, GlobalEventHandlers, HTMLOrSVGOrMathMLElement { /** * The **`HTMLElement.accessKey`** property sets the keystroke which a user can press to jump to a given element. * @@ -20309,7 +20323,7 @@ declare var HTMLOptionsCollection: { new(): HTMLOptionsCollection; }; -interface HTMLOrSVGElement { +interface HTMLOrSVGOrMathMLElement { /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/autofocus) */ autofocus: boolean; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/dataset) */ @@ -24033,7 +24047,7 @@ interface MathMLElementEventMap extends ElementEventMap, GlobalEventHandlersEven * * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MathMLElement) */ -interface MathMLElement extends Element, ElementCSSInlineStyle, GlobalEventHandlers, HTMLOrSVGElement { +interface MathMLElement extends Element, ElementCSSInlineStyle, GlobalEventHandlers, HTMLOrSVGOrMathMLElement { addEventListener(type: K, listener: (this: MathMLElement, ev: MathMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: MathMLElement, ev: MathMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; @@ -26030,6 +26044,11 @@ declare var NavigationPreloadManager: { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/NavigationTransition) */ interface NavigationTransition { + /** + * 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. @@ -31825,7 +31844,7 @@ interface SVGElementEventMap extends ElementEventMap, GlobalEventHandlersEventMa * * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGElement) */ -interface SVGElement extends Element, ElementCSSInlineStyle, GlobalEventHandlers, HTMLOrSVGElement { +interface SVGElement extends Element, ElementCSSInlineStyle, GlobalEventHandlers, HTMLOrSVGOrMathMLElement { /** @deprecated */ readonly className: any; /** diff --git a/baselines/ts5.9/dom.generated.d.ts b/baselines/ts5.9/dom.generated.d.ts index 24a34aa36..1050316a9 100644 --- a/baselines/ts5.9/dom.generated.d.ts +++ b/baselines/ts5.9/dom.generated.d.ts @@ -201,6 +201,7 @@ interface AuthenticationExtensionsClientInputs { largeBlob?: AuthenticationExtensionsLargeBlobInputs; minPinLength?: boolean; prf?: AuthenticationExtensionsPRFInputs; + remoteClientDataJSON?: string; } interface AuthenticationExtensionsClientInputsJSON { @@ -208,6 +209,7 @@ interface AuthenticationExtensionsClientInputsJSON { credProps?: boolean; largeBlob?: AuthenticationExtensionsLargeBlobInputsJSON; prf?: AuthenticationExtensionsPRFInputsJSON; + remoteClientDataJSON?: string; } interface AuthenticationExtensionsClientOutputs { @@ -216,6 +218,7 @@ interface AuthenticationExtensionsClientOutputs { hmacCreateSecret?: boolean; largeBlob?: AuthenticationExtensionsLargeBlobOutputs; prf?: AuthenticationExtensionsPRFOutputs; + remoteClientDataJson?: boolean; } interface AuthenticationExtensionsClientOutputsJSON { @@ -223,6 +226,7 @@ interface AuthenticationExtensionsClientOutputsJSON { credProps?: CredentialPropertiesOutput; largeBlob?: AuthenticationExtensionsLargeBlobOutputsJSON; prf?: AuthenticationExtensionsPRFOutputsJSON; + remoteClientDataJson?: boolean; } interface AuthenticationExtensionsLargeBlobInputs { @@ -2748,6 +2752,10 @@ interface SerialPortRequestOptions { filters?: SerialPortFilter[]; } +interface SetHTMLOptions { + sanitizer?: Sanitizer | SanitizerConfig | SanitizerPresets; +} + interface ShadowRootInit { clonable?: boolean; customElementRegistry?: CustomElementRegistry | null; @@ -9404,7 +9412,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) */ @@ -14077,7 +14085,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) */ @@ -14139,6 +14147,12 @@ interface Element extends Node, ARIAMixin, Animatable, ChildNode, NonDocumentTyp * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/setAttributeNodeNS) */ setAttributeNodeNS(attr: Attr): Attr | null; + /** + * The **`setHTML()`** method of the Element interface provides an XSS-safe method to parse and sanitize a string of HTML and insert it into the DOM as a subtree of the element. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/setHTML) + */ + setHTML(html: string, options?: SetHTMLOptions): void; /** * The **`setHTMLUnsafe()`** method of the Element interface is used to parse HTML input into a DocumentFragment, optionally filtering out unwanted elements and attributes, and those that don't belong in the context, and then using it to replace the element's subtree in the DOM. * @@ -17984,7 +17998,7 @@ interface HTMLElementEventMap extends ElementEventMap, GlobalEventHandlersEventM * * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement) */ -interface HTMLElement extends Element, ElementCSSInlineStyle, ElementContentEditable, GlobalEventHandlers, HTMLOrSVGElement { +interface HTMLElement extends Element, ElementCSSInlineStyle, ElementContentEditable, GlobalEventHandlers, HTMLOrSVGOrMathMLElement { /** * The **`HTMLElement.accessKey`** property sets the keystroke which a user can press to jump to a given element. * @@ -20309,7 +20323,7 @@ declare var HTMLOptionsCollection: { new(): HTMLOptionsCollection; }; -interface HTMLOrSVGElement { +interface HTMLOrSVGOrMathMLElement { /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/autofocus) */ autofocus: boolean; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/dataset) */ @@ -24033,7 +24047,7 @@ interface MathMLElementEventMap extends ElementEventMap, GlobalEventHandlersEven * * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MathMLElement) */ -interface MathMLElement extends Element, ElementCSSInlineStyle, GlobalEventHandlers, HTMLOrSVGElement { +interface MathMLElement extends Element, ElementCSSInlineStyle, GlobalEventHandlers, HTMLOrSVGOrMathMLElement { addEventListener(type: K, listener: (this: MathMLElement, ev: MathMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: MathMLElement, ev: MathMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; @@ -26030,6 +26044,11 @@ declare var NavigationPreloadManager: { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/NavigationTransition) */ interface NavigationTransition { + /** + * 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. @@ -31825,7 +31844,7 @@ interface SVGElementEventMap extends ElementEventMap, GlobalEventHandlersEventMa * * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGElement) */ -interface SVGElement extends Element, ElementCSSInlineStyle, GlobalEventHandlers, HTMLOrSVGElement { +interface SVGElement extends Element, ElementCSSInlineStyle, GlobalEventHandlers, HTMLOrSVGOrMathMLElement { /** @deprecated */ readonly className: any; /** diff --git a/inputfiles/mdn.json b/inputfiles/mdn.json index d10d60a24..168a47056 100644 --- a/inputfiles/mdn.json +++ b/inputfiles/mdn.json @@ -1082,7 +1082,7 @@ { "mdn_url": "/en-US/docs/Web/API/AudioSession", "pageType": "web-api-interface", - "summary": "The AudioSession interface of the Audio Session API allows developers to specify how audio from a web application interacts with other audio playing on a device." + "summary": "The AudioSession interface of the Audio Session API lets a web page declare the type of audio it is producing — for example music playback, a video call, or a short notification. The platform uses that declaration to decide how the page's audio and audio from other applications and tabs should coexist — whether to pause, duck (lower the volume), or play in parallel." }, { "mdn_url": "/en-US/docs/Web/API/AudioSession/type", @@ -8472,7 +8472,7 @@ { "mdn_url": "/en-US/docs/Web/API/Element/requestFullscreen", "pageType": "web-api-instance-method", - "summary": "The Element.requestFullscreen()\nmethod issues an asynchronous request to make the element be displayed in fullscreen\nmode." + "summary": "The requestFullscreen() method of the Element interface issues an asynchronous request to display the element in fullscreen mode." }, { "mdn_url": "/en-US/docs/Web/API/Element/requestPointerLock", @@ -10827,7 +10827,7 @@ { "mdn_url": "/en-US/docs/Web/API/GPU/requestAdapter", "pageType": "web-api-instance-method", - "summary": "The requestAdapter() method of the\nGPU interface returns a Promise that fulfills with a GPUAdapter object instance. From this you can request a GPUDevice, adapter info, features, and limits." + "summary": "The requestAdapter() method of the GPU interface returns a Promise that fulfills with a GPUAdapter object instance. From this you can request a GPUDevice, adapter info, features, and limits." }, { "mdn_url": "/en-US/docs/Web/API/GPU/wgslLanguageFeatures", @@ -19949,6 +19949,11 @@ "pageType": "web-api-interface", "summary": "The NavigationTransition interface of the Navigation API represents an ongoing navigation — a navigation that hasn't yet reached the navigatesuccess or navigateerror stage." }, + { + "mdn_url": "/en-US/docs/Web/API/NavigationTransition/committed", + "pageType": "web-api-instance-property", + "summary": "The committed read-only property of the\nNavigationTransition 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_url": "/en-US/docs/Web/API/NavigationTransition/finished", "pageType": "web-api-instance-property", @@ -23037,7 +23042,7 @@ { "mdn_url": "/en-US/docs/Web/API/PreferenceObject/clearOverride", "pageType": "web-api-instance-method", - "summary": "The clearOverride method of the PreferenceObject interface resets the must be provided value." + "summary": "The clearOverride method of the PreferenceObject interface resets the override value." }, { "mdn_url": "/en-US/docs/Web/API/PreferenceObject/override", @@ -23047,7 +23052,7 @@ { "mdn_url": "/en-US/docs/Web/API/PreferenceObject/requestOverride", "pageType": "web-api-instance-method", - "summary": "The requestOverride method of the PreferenceObject interface sets an must be provided value for a particular preference." + "summary": "The requestOverride method of the PreferenceObject interface sets an override value for a particular preference." }, { "mdn_url": "/en-US/docs/Web/API/PreferenceObject/validValues", @@ -27807,7 +27812,7 @@ { "mdn_url": "/en-US/docs/Web/API/SharedWorker", "pageType": "web-api-interface", - "summary": "The SharedWorker interface represents a specific kind of worker that can be accessed from several browsing contexts, such as multiple windows or iframes. Shared workers implement a different interface than dedicated workers, have a different global scope (SharedWorkerGlobalScope), and their constructor is not exposed in DedicatedWorkerGlobalScope, so they cannot be instantiated from dedicated workers." + "summary": "The SharedWorker interface represents a specific kind of worker that can be accessed from several browsing contexts, such as multiple windows or iframes.\nShared workers implement a different interface than dedicated workers, have a different global scope (SharedWorkerGlobalScope), and their constructor is not exposed in DedicatedWorkerGlobalScope, so they cannot be instantiated from dedicated workers." }, { "mdn_url": "/en-US/docs/Web/API/SharedWorker/error_event", @@ -33944,6 +33949,11 @@ "pageType": "web-api-instance-property", "summary": "The format property of the VideoFrame interface returns the pixel format of the VideoFrame." }, + { + "mdn_url": "/en-US/docs/Web/API/VideoFrame/metadata", + "pageType": "web-api-instance-method", + "summary": "The metadata() method of the VideoFrame interface returns the metadata associated with the frame." + }, { "mdn_url": "/en-US/docs/Web/API/VideoFrame/rotation", "pageType": "web-api-instance-property", @@ -34947,7 +34957,22 @@ { "mdn_url": "/en-US/docs/Web/API/WebCodecs_API", "pageType": "web-api-overview", - "summary": "The WebCodecs API gives web developers low-level access to the individual frames of a video stream and chunks of audio.\nIt is useful for web applications that require full control over the way media is processed.\nFor example, video or audio editors, and video conferencing." + "summary": "The WebCodecs API enables web developers to encode and decode video and audio in the browser efficiently (using hardware acceleration) and with very low-level control (processing on a per-frame basis)." + }, + { + "mdn_url": "/en-US/docs/Web/API/WebCodecs_API/Codec_selection", + "pageType": "guide", + "summary": "While developers commonly refer to codecs by their code identifier string, such as vp9 or h264, there are many configuration profiles, levels, and other parameters that control exactly how the data is encoded and decoded." + }, + { + "mdn_url": "/en-US/docs/Web/API/WebCodecs_API/Using_the_WebCodecs_API", + "pageType": "guide", + "summary": "This guide covers the basic usage patterns of the WebCodecs API, including how to encode and decode video and audio, as well as how to use VideoFrame and AudioData." + }, + { + "mdn_url": "/en-US/docs/Web/API/WebCodecs_API/Video_processing_concepts", + "pageType": "guide", + "summary": "Before working with the WebCodecs API, it is helpful to understand some foundational concepts around how video works, how it is compressed, and how video files are structured.\nThis guide covers the key concepts: video frames, codecs, encoding and decoding, containers, and muxing and demuxing." }, { "mdn_url": "/en-US/docs/Web/API/WebGL_API", @@ -42492,7 +42517,7 @@ { "mdn_url": "/en-US/docs/Web/CSS/Reference/Properties/view-transition-class", "pageType": "css-property", - "summary": "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." + "summary": "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_url": "/en-US/docs/Web/CSS/Reference/Properties/view-transition-name", diff --git a/package-lock.json b/package-lock.json index 09f59ab7a..04d44388d 100644 --- a/package-lock.json +++ b/package-lock.json @@ -331,9 +331,9 @@ } }, "node_modules/@mdn/browser-compat-data": { - "version": "7.3.14", - "resolved": "https://registry.npmjs.org/@mdn/browser-compat-data/-/browser-compat-data-7.3.14.tgz", - "integrity": "sha512-Mqll0z0todYcAOqr+2hnYZRFe7+CwyU14lj86vzAGDJVeqnp618ybGzwHTI7sxyhd/46FFtJAlZNUmL1YHSX+Q==", + "version": "7.3.15", + "resolved": "https://registry.npmjs.org/@mdn/browser-compat-data/-/browser-compat-data-7.3.15.tgz", + "integrity": "sha512-8YoG52J2ZsR+T4p0JsAuoWeztBgJsAtGY+LeGEAHvyJBojJzJtLb8o1fRsIbc0v6EHKRLIrCU3VoAIK1olntag==", "dev": true, "license": "CC0-1.0" }, @@ -1074,9 +1074,9 @@ ] }, "node_modules/@webref/css": { - "version": "8.5.4", - "resolved": "https://registry.npmjs.org/@webref/css/-/css-8.5.4.tgz", - "integrity": "sha512-3t4LuTww0lNpJRi3k/Obb74xWc9+YVGcO0DNoc5k3+dmqIklcj3KHKBk4GHMwj4+zMwJXLpK7F2R9r3qTZg2Ag==", + "version": "8.5.5", + "resolved": "https://registry.npmjs.org/@webref/css/-/css-8.5.5.tgz", + "integrity": "sha512-i6R7FkwHJTK74VwMvul3V9rYN9Dq3NzJinaKadtg7DkMtvOwTuB5ZR3zGGCWr+nh7jcftymoThr3gKbBnvo3Hg==", "dev": true, "license": "MIT", "peerDependencies": { @@ -1091,16 +1091,16 @@ "license": "MIT" }, "node_modules/@webref/events": { - "version": "1.22.1", - "resolved": "https://registry.npmjs.org/@webref/events/-/events-1.22.1.tgz", - "integrity": "sha512-UUypBtgLviCHkPxkigj0vclgG+gYIoHpLSvk05nXBFDMSiDOwPJjK66OkCh0hjiDG/dMzzUz1D1ngzJTU9OEEQ==", + "version": "1.23.0", + "resolved": "https://registry.npmjs.org/@webref/events/-/events-1.23.0.tgz", + "integrity": "sha512-q0R3pFzvfYuXW+GN8nJMzZL9NoS+cOb4G/s4qBzuWRceGhfMpYFdCsVr+i84X1/dkYslYpQ8qxhSCcbxk8PFew==", "dev": true, "license": "MIT" }, "node_modules/@webref/idl": { - "version": "3.76.0", - "resolved": "https://registry.npmjs.org/@webref/idl/-/idl-3.76.0.tgz", - "integrity": "sha512-3HPoiu2bN9UmfdIUi5+qH9oBBQmhfccOmoUXSlwEmv7LvDu1ifmGSzkUCRrYYsVubMeZCMSLRMXnWDFn2K6qBw==", + "version": "3.77.0", + "resolved": "https://registry.npmjs.org/@webref/idl/-/idl-3.77.0.tgz", + "integrity": "sha512-XpDJ471ryn5pq2Z8wXnOd10XxiT6Nnp0QTrxgcU1cdvHBLEvbsmSj/d5ldnp90e1vyxllKyt53Ztl0/0DnKuHw==", "dev": true, "license": "MIT", "peerDependencies": {