From 291004fd61f2a62e3277b228ca21b6a462dfc6ef Mon Sep 17 00:00:00 2001 From: orta <49038+orta@users.noreply.github.com> Date: Wed, 16 Jul 2025 08:13:33 +0000 Subject: [PATCH] Update to idl@3.65.5 --- baselines/dom.generated.d.ts | 9 ++++++--- baselines/ts5.5/dom.generated.d.ts | 9 ++++++--- baselines/ts5.6/dom.generated.d.ts | 9 ++++++--- inputfiles/mdn | 2 +- inputfiles/removedTypes.jsonc | 15 +++++++++------ package-lock.json | 18 +++++++++--------- 6 files changed, 37 insertions(+), 25 deletions(-) diff --git a/baselines/dom.generated.d.ts b/baselines/dom.generated.d.ts index f76cd053f..31ae9872c 100644 --- a/baselines/dom.generated.d.ts +++ b/baselines/dom.generated.d.ts @@ -11345,7 +11345,7 @@ interface ElementCSSInlineStyle { /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/attributeStyleMap) */ readonly attributeStyleMap: StylePropertyMap; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/style) */ - get style(): CSSStyleDeclaration; + get style(): CSSStyleProperties; set style(cssText: string); } @@ -20677,8 +20677,11 @@ interface MediaSource extends EventTarget { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaSource/duration) */ duration: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaSource/sourceclose_event) */ onsourceclose: ((this: MediaSource, ev: Event) => any) | null; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaSource/sourceended_event) */ onsourceended: ((this: MediaSource, ev: Event) => any) | null; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaSource/sourceopen_event) */ onsourceopen: ((this: MediaSource, ev: Event) => any) | null; /** * The **`readyState`** read-only property of the current `MediaSource`. @@ -37094,7 +37097,7 @@ interface Window extends EventTarget, AnimationFrameProvider, GlobalEventHandler * * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/getComputedStyle) */ - getComputedStyle(elt: Element, pseudoElt?: string | null): CSSStyleDeclaration; + getComputedStyle(elt: Element, pseudoElt?: string | null): CSSStyleProperties; /** * The **`getSelection()`** method of the Window interface returns the Selection object associated with the window's document, representing the range of text selected by the user or the current position of the caret. * @@ -39130,7 +39133,7 @@ declare function focus(): void; * * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/getComputedStyle) */ -declare function getComputedStyle(elt: Element, pseudoElt?: string | null): CSSStyleDeclaration; +declare function getComputedStyle(elt: Element, pseudoElt?: string | null): CSSStyleProperties; /** * The **`getSelection()`** method of the Window interface returns the Selection object associated with the window's document, representing the range of text selected by the user or the current position of the caret. * diff --git a/baselines/ts5.5/dom.generated.d.ts b/baselines/ts5.5/dom.generated.d.ts index 74b25f3a7..5fc97c13e 100644 --- a/baselines/ts5.5/dom.generated.d.ts +++ b/baselines/ts5.5/dom.generated.d.ts @@ -11335,7 +11335,7 @@ interface ElementCSSInlineStyle { /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/attributeStyleMap) */ readonly attributeStyleMap: StylePropertyMap; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/style) */ - readonly style: CSSStyleDeclaration; + readonly style: CSSStyleProperties; } interface ElementContentEditable { @@ -20656,8 +20656,11 @@ interface MediaSource extends EventTarget { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaSource/duration) */ duration: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaSource/sourceclose_event) */ onsourceclose: ((this: MediaSource, ev: Event) => any) | null; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaSource/sourceended_event) */ onsourceended: ((this: MediaSource, ev: Event) => any) | null; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaSource/sourceopen_event) */ onsourceopen: ((this: MediaSource, ev: Event) => any) | null; /** * The **`readyState`** read-only property of the current `MediaSource`. @@ -37071,7 +37074,7 @@ interface Window extends EventTarget, AnimationFrameProvider, GlobalEventHandler * * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/getComputedStyle) */ - getComputedStyle(elt: Element, pseudoElt?: string | null): CSSStyleDeclaration; + getComputedStyle(elt: Element, pseudoElt?: string | null): CSSStyleProperties; /** * The **`getSelection()`** method of the Window interface returns the Selection object associated with the window's document, representing the range of text selected by the user or the current position of the caret. * @@ -39107,7 +39110,7 @@ declare function focus(): void; * * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/getComputedStyle) */ -declare function getComputedStyle(elt: Element, pseudoElt?: string | null): CSSStyleDeclaration; +declare function getComputedStyle(elt: Element, pseudoElt?: string | null): CSSStyleProperties; /** * The **`getSelection()`** method of the Window interface returns the Selection object associated with the window's document, representing the range of text selected by the user or the current position of the caret. * diff --git a/baselines/ts5.6/dom.generated.d.ts b/baselines/ts5.6/dom.generated.d.ts index fdb91af48..7412dce9d 100644 --- a/baselines/ts5.6/dom.generated.d.ts +++ b/baselines/ts5.6/dom.generated.d.ts @@ -11345,7 +11345,7 @@ interface ElementCSSInlineStyle { /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/attributeStyleMap) */ readonly attributeStyleMap: StylePropertyMap; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/style) */ - get style(): CSSStyleDeclaration; + get style(): CSSStyleProperties; set style(cssText: string); } @@ -20677,8 +20677,11 @@ interface MediaSource extends EventTarget { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaSource/duration) */ duration: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaSource/sourceclose_event) */ onsourceclose: ((this: MediaSource, ev: Event) => any) | null; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaSource/sourceended_event) */ onsourceended: ((this: MediaSource, ev: Event) => any) | null; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaSource/sourceopen_event) */ onsourceopen: ((this: MediaSource, ev: Event) => any) | null; /** * The **`readyState`** read-only property of the current `MediaSource`. @@ -37094,7 +37097,7 @@ interface Window extends EventTarget, AnimationFrameProvider, GlobalEventHandler * * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/getComputedStyle) */ - getComputedStyle(elt: Element, pseudoElt?: string | null): CSSStyleDeclaration; + getComputedStyle(elt: Element, pseudoElt?: string | null): CSSStyleProperties; /** * The **`getSelection()`** method of the Window interface returns the Selection object associated with the window's document, representing the range of text selected by the user or the current position of the caret. * @@ -39130,7 +39133,7 @@ declare function focus(): void; * * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/getComputedStyle) */ -declare function getComputedStyle(elt: Element, pseudoElt?: string | null): CSSStyleDeclaration; +declare function getComputedStyle(elt: Element, pseudoElt?: string | null): CSSStyleProperties; /** * The **`getSelection()`** method of the Window interface returns the Selection object associated with the window's document, representing the range of text selected by the user or the current position of the caret. * diff --git a/inputfiles/mdn b/inputfiles/mdn index ac71221e1..12ec796bd 160000 --- a/inputfiles/mdn +++ b/inputfiles/mdn @@ -1 +1 @@ -Subproject commit ac71221e1987611d58450dbee82642c83285c5a0 +Subproject commit 12ec796bd2b29aa50565556492c39d58e275e633 diff --git a/inputfiles/removedTypes.jsonc b/inputfiles/removedTypes.jsonc index 325fa8c5e..2a84e0d40 100644 --- a/inputfiles/removedTypes.jsonc +++ b/inputfiles/removedTypes.jsonc @@ -783,9 +783,11 @@ "RTCOutboundRtpStreamStats": { "members": { "member": { - "powerEfficientEncoder": null, // Blink only as of 2025-04 - "encoderImplementation": null, // Blink only as of 2025-04 - "encodingIndex": null // Blink only as of 2025-04 + "powerEfficientEncoder": null, // Blink only as of 2025-07 + "encoderImplementation": null, // Blink only as of 2025-07 + "encodingIndex": null, // Blink only as of 2025-07 + "psnrMeasurements": null, // No implementation as of 2025-07 + "psnrSum": null // No implementation as of 2025-07 } } }, @@ -910,9 +912,10 @@ "WebTransportOptions": { "members": { "member": { - "anticipatedConcurrentIncomingBidirectionalStreams": null, // No implementation as of 2024-09 - "anticipatedConcurrentIncomingUnidirectionalStreams": null, // No implementation as of 2024-09 - "protocols": null // No implementation as of 2024-09 + "anticipatedConcurrentIncomingBidirectionalStreams": null, // No implementation as of 2025-07 + "anticipatedConcurrentIncomingUnidirectionalStreams": null, // No implementation as of 2025-07 + "datagramsReadableMode": null, // No implementation as of 2025-07 + "protocols": null // No implementation as of 2025-07 } } }, diff --git a/package-lock.json b/package-lock.json index 2c2fb0477..b4ba4ad54 100644 --- a/package-lock.json +++ b/package-lock.json @@ -349,9 +349,9 @@ } }, "node_modules/@mdn/browser-compat-data": { - "version": "6.0.31", - "resolved": "https://registry.npmjs.org/@mdn/browser-compat-data/-/browser-compat-data-6.0.31.tgz", - "integrity": "sha512-27LnrPwLUNaVROOe5GF2tZ8kiNuK3/TdVvKpZ1j040gwieAEnYZ9gnOHITdu4UDeq/C/GP0sbvdKDYqzlvEgQQ==", + "version": "6.0.32", + "resolved": "https://registry.npmjs.org/@mdn/browser-compat-data/-/browser-compat-data-6.0.32.tgz", + "integrity": "sha512-XXZ0RbkrIw8mr71WbVYmtZk+zWYutS71+/8/E+gyPE3yt/ZNiW4UU5/NcrpgLO4NfIB+VBuWhPzSN6Pb1VxAWA==", "dev": true, "license": "CC0-1.0" }, @@ -978,9 +978,9 @@ } }, "node_modules/@webref/css": { - "version": "6.23.4", - "resolved": "https://registry.npmjs.org/@webref/css/-/css-6.23.4.tgz", - "integrity": "sha512-sGx2oCO6kDFidcmrZgAwEet+RnP/qj2r9ZUvR1VNl467Wy6/WyIPI5M5+HrHm7k7tBURQVoV+G8Yie+tA0O+Pw==", + "version": "6.23.5", + "resolved": "https://registry.npmjs.org/@webref/css/-/css-6.23.5.tgz", + "integrity": "sha512-nfuL3P7t97Z/XrtJHqe6PduVLDWeXK6t45UyTTcLDdVNEOHajgm7vi0yMQ2vbB+mOSzDqMiJU7Cf2C6kZoi66g==", "dev": true, "license": "MIT", "peerDependencies": { @@ -1002,9 +1002,9 @@ "license": "MIT" }, "node_modules/@webref/idl": { - "version": "3.65.4", - "resolved": "https://registry.npmjs.org/@webref/idl/-/idl-3.65.4.tgz", - "integrity": "sha512-fKcvQzvQ49ENEDpYtIi8t8daE0ylwOOwfTOOxC1RmoZBE7dHovUT7AtrqUUAOrOKfhcedT1PmJE2DGZ16sIdXQ==", + "version": "3.65.5", + "resolved": "https://registry.npmjs.org/@webref/idl/-/idl-3.65.5.tgz", + "integrity": "sha512-BycEvc0joBZVMLt1i1NDKL3JhXzJFfrY3/HP/cE3r+zvDwi8Ss5BV5De/MnFVsYq7YJoxjg41Ls5MQ/mJJd/zQ==", "dev": true, "license": "MIT", "peerDependencies": {