Skip to content

Commit a092e39

Browse files
committed
Manually update to idl@3.77.0
1 parent 8273e37 commit a092e39

7 files changed

Lines changed: 91 additions & 46 deletions

File tree

baselines/dom.generated.d.ts

Lines changed: 15 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2751,6 +2751,10 @@ interface SerialPortRequestOptions {
27512751
filters?: SerialPortFilter[];
27522752
}
27532753

2754+
interface SetHTMLOptions {
2755+
sanitizer?: Sanitizer | SanitizerConfig | SanitizerPresets;
2756+
}
2757+
27542758
interface ShadowRootInit {
27552759
clonable?: boolean;
27562760
customElementRegistry?: CustomElementRegistry | null;
@@ -14142,6 +14146,12 @@ interface Element extends Node, ARIAMixin, Animatable, ChildNode, NonDocumentTyp
1414214146
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/setAttributeNodeNS)
1414314147
*/
1414414148
setAttributeNodeNS(attr: Attr): Attr | null;
14149+
/**
14150+
* 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.
14151+
*
14152+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/setHTML)
14153+
*/
14154+
setHTML(html: string, options?: SetHTMLOptions): void;
1414514155
/**
1414614156
* 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.
1414714157
*
@@ -17987,7 +17997,7 @@ interface HTMLElementEventMap extends ElementEventMap, GlobalEventHandlersEventM
1798717997
*
1798817998
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement)
1798917999
*/
17990-
interface HTMLElement extends Element, ElementCSSInlineStyle, ElementContentEditable, GlobalEventHandlers, HTMLOrSVGElement {
18000+
interface HTMLElement extends Element, ElementCSSInlineStyle, ElementContentEditable, GlobalEventHandlers, HTMLOrSVGOrMathMLElement {
1799118001
/**
1799218002
* The **`HTMLElement.accessKey`** property sets the keystroke which a user can press to jump to a given element.
1799318003
*
@@ -20312,7 +20322,7 @@ declare var HTMLOptionsCollection: {
2031220322
new(): HTMLOptionsCollection;
2031320323
};
2031420324

20315-
interface HTMLOrSVGElement {
20325+
interface HTMLOrSVGOrMathMLElement {
2031620326
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/autofocus) */
2031720327
autofocus: boolean;
2031820328
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/dataset) */
@@ -24036,7 +24046,7 @@ interface MathMLElementEventMap extends ElementEventMap, GlobalEventHandlersEven
2403624046
*
2403724047
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/MathMLElement)
2403824048
*/
24039-
interface MathMLElement extends Element, ElementCSSInlineStyle, GlobalEventHandlers, HTMLOrSVGElement {
24049+
interface MathMLElement extends Element, ElementCSSInlineStyle, GlobalEventHandlers, HTMLOrSVGOrMathMLElement {
2404024050
addEventListener<K extends keyof MathMLElementEventMap>(type: K, listener: (this: MathMLElement, ev: MathMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
2404124051
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
2404224052
removeEventListener<K extends keyof MathMLElementEventMap>(type: K, listener: (this: MathMLElement, ev: MathMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
@@ -26033,6 +26043,7 @@ declare var NavigationPreloadManager: {
2603326043
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/NavigationTransition)
2603426044
*/
2603526045
interface NavigationTransition {
26046+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/NavigationTransition/committed) */
2603626047
readonly committed: Promise<void>;
2603726048
/**
2603826049
* 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 +31839,7 @@ interface SVGElementEventMap extends ElementEventMap, GlobalEventHandlersEventMa
3182831839
*
3182931840
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGElement)
3183031841
*/
31831-
interface SVGElement extends Element, ElementCSSInlineStyle, GlobalEventHandlers, HTMLOrSVGElement {
31842+
interface SVGElement extends Element, ElementCSSInlineStyle, GlobalEventHandlers, HTMLOrSVGOrMathMLElement {
3183231843
/** @deprecated */
3183331844
readonly className: any;
3183431845
/**

baselines/ts5.5/dom.generated.d.ts

Lines changed: 15 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2748,6 +2748,10 @@ interface SerialPortRequestOptions {
27482748
filters?: SerialPortFilter[];
27492749
}
27502750

2751+
interface SetHTMLOptions {
2752+
sanitizer?: Sanitizer | SanitizerConfig | SanitizerPresets;
2753+
}
2754+
27512755
interface ShadowRootInit {
27522756
clonable?: boolean;
27532757
customElementRegistry?: CustomElementRegistry | null;
@@ -14129,6 +14133,12 @@ interface Element extends Node, ARIAMixin, Animatable, ChildNode, NonDocumentTyp
1412914133
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/setAttributeNodeNS)
1413014134
*/
1413114135
setAttributeNodeNS(attr: Attr): Attr | null;
14136+
/**
14137+
* 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.
14138+
*
14139+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/setHTML)
14140+
*/
14141+
setHTML(html: string, options?: SetHTMLOptions): void;
1413214142
/**
1413314143
* 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.
1413414144
*
@@ -17971,7 +17981,7 @@ interface HTMLElementEventMap extends ElementEventMap, GlobalEventHandlersEventM
1797117981
*
1797217982
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement)
1797317983
*/
17974-
interface HTMLElement extends Element, ElementCSSInlineStyle, ElementContentEditable, GlobalEventHandlers, HTMLOrSVGElement {
17984+
interface HTMLElement extends Element, ElementCSSInlineStyle, ElementContentEditable, GlobalEventHandlers, HTMLOrSVGOrMathMLElement {
1797517985
/**
1797617986
* The **`HTMLElement.accessKey`** property sets the keystroke which a user can press to jump to a given element.
1797717987
*
@@ -20291,7 +20301,7 @@ declare var HTMLOptionsCollection: {
2029120301
new(): HTMLOptionsCollection;
2029220302
};
2029320303

20294-
interface HTMLOrSVGElement {
20304+
interface HTMLOrSVGOrMathMLElement {
2029520305
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/autofocus) */
2029620306
autofocus: boolean;
2029720307
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/dataset) */
@@ -24012,7 +24022,7 @@ interface MathMLElementEventMap extends ElementEventMap, GlobalEventHandlersEven
2401224022
*
2401324023
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/MathMLElement)
2401424024
*/
24015-
interface MathMLElement extends Element, ElementCSSInlineStyle, GlobalEventHandlers, HTMLOrSVGElement {
24025+
interface MathMLElement extends Element, ElementCSSInlineStyle, GlobalEventHandlers, HTMLOrSVGOrMathMLElement {
2401624026
addEventListener<K extends keyof MathMLElementEventMap>(type: K, listener: (this: MathMLElement, ev: MathMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
2401724027
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
2401824028
removeEventListener<K extends keyof MathMLElementEventMap>(type: K, listener: (this: MathMLElement, ev: MathMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
@@ -26009,6 +26019,7 @@ declare var NavigationPreloadManager: {
2600926019
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/NavigationTransition)
2601026020
*/
2601126021
interface NavigationTransition {
26022+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/NavigationTransition/committed) */
2601226023
readonly committed: Promise<void>;
2601326024
/**
2601426025
* 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 +31814,7 @@ interface SVGElementEventMap extends ElementEventMap, GlobalEventHandlersEventMa
3180331814
*
3180431815
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGElement)
3180531816
*/
31806-
interface SVGElement extends Element, ElementCSSInlineStyle, GlobalEventHandlers, HTMLOrSVGElement {
31817+
interface SVGElement extends Element, ElementCSSInlineStyle, GlobalEventHandlers, HTMLOrSVGOrMathMLElement {
3180731818
/** @deprecated */
3180831819
readonly className: any;
3180931820
/**

baselines/ts5.6/dom.generated.d.ts

Lines changed: 15 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2748,6 +2748,10 @@ interface SerialPortRequestOptions {
27482748
filters?: SerialPortFilter[];
27492749
}
27502750

2751+
interface SetHTMLOptions {
2752+
sanitizer?: Sanitizer | SanitizerConfig | SanitizerPresets;
2753+
}
2754+
27512755
interface ShadowRootInit {
27522756
clonable?: boolean;
27532757
customElementRegistry?: CustomElementRegistry | null;
@@ -14139,6 +14143,12 @@ interface Element extends Node, ARIAMixin, Animatable, ChildNode, NonDocumentTyp
1413914143
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/setAttributeNodeNS)
1414014144
*/
1414114145
setAttributeNodeNS(attr: Attr): Attr | null;
14146+
/**
14147+
* 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.
14148+
*
14149+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/setHTML)
14150+
*/
14151+
setHTML(html: string, options?: SetHTMLOptions): void;
1414214152
/**
1414314153
* 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.
1414414154
*
@@ -17984,7 +17994,7 @@ interface HTMLElementEventMap extends ElementEventMap, GlobalEventHandlersEventM
1798417994
*
1798517995
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement)
1798617996
*/
17987-
interface HTMLElement extends Element, ElementCSSInlineStyle, ElementContentEditable, GlobalEventHandlers, HTMLOrSVGElement {
17997+
interface HTMLElement extends Element, ElementCSSInlineStyle, ElementContentEditable, GlobalEventHandlers, HTMLOrSVGOrMathMLElement {
1798817998
/**
1798917999
* The **`HTMLElement.accessKey`** property sets the keystroke which a user can press to jump to a given element.
1799018000
*
@@ -20309,7 +20319,7 @@ declare var HTMLOptionsCollection: {
2030920319
new(): HTMLOptionsCollection;
2031020320
};
2031120321

20312-
interface HTMLOrSVGElement {
20322+
interface HTMLOrSVGOrMathMLElement {
2031320323
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/autofocus) */
2031420324
autofocus: boolean;
2031520325
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/dataset) */
@@ -24033,7 +24043,7 @@ interface MathMLElementEventMap extends ElementEventMap, GlobalEventHandlersEven
2403324043
*
2403424044
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/MathMLElement)
2403524045
*/
24036-
interface MathMLElement extends Element, ElementCSSInlineStyle, GlobalEventHandlers, HTMLOrSVGElement {
24046+
interface MathMLElement extends Element, ElementCSSInlineStyle, GlobalEventHandlers, HTMLOrSVGOrMathMLElement {
2403724047
addEventListener<K extends keyof MathMLElementEventMap>(type: K, listener: (this: MathMLElement, ev: MathMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
2403824048
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
2403924049
removeEventListener<K extends keyof MathMLElementEventMap>(type: K, listener: (this: MathMLElement, ev: MathMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
@@ -26030,6 +26040,7 @@ declare var NavigationPreloadManager: {
2603026040
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/NavigationTransition)
2603126041
*/
2603226042
interface NavigationTransition {
26043+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/NavigationTransition/committed) */
2603326044
readonly committed: Promise<void>;
2603426045
/**
2603526046
* 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 +31836,7 @@ interface SVGElementEventMap extends ElementEventMap, GlobalEventHandlersEventMa
3182531836
*
3182631837
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGElement)
3182731838
*/
31828-
interface SVGElement extends Element, ElementCSSInlineStyle, GlobalEventHandlers, HTMLOrSVGElement {
31839+
interface SVGElement extends Element, ElementCSSInlineStyle, GlobalEventHandlers, HTMLOrSVGOrMathMLElement {
3182931840
/** @deprecated */
3183031841
readonly className: any;
3183131842
/**

baselines/ts5.9/dom.generated.d.ts

Lines changed: 15 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2748,6 +2748,10 @@ interface SerialPortRequestOptions {
27482748
filters?: SerialPortFilter[];
27492749
}
27502750

2751+
interface SetHTMLOptions {
2752+
sanitizer?: Sanitizer | SanitizerConfig | SanitizerPresets;
2753+
}
2754+
27512755
interface ShadowRootInit {
27522756
clonable?: boolean;
27532757
customElementRegistry?: CustomElementRegistry | null;
@@ -14139,6 +14143,12 @@ interface Element extends Node, ARIAMixin, Animatable, ChildNode, NonDocumentTyp
1413914143
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/setAttributeNodeNS)
1414014144
*/
1414114145
setAttributeNodeNS(attr: Attr): Attr | null;
14146+
/**
14147+
* 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.
14148+
*
14149+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/setHTML)
14150+
*/
14151+
setHTML(html: string, options?: SetHTMLOptions): void;
1414214152
/**
1414314153
* 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.
1414414154
*
@@ -17984,7 +17994,7 @@ interface HTMLElementEventMap extends ElementEventMap, GlobalEventHandlersEventM
1798417994
*
1798517995
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement)
1798617996
*/
17987-
interface HTMLElement extends Element, ElementCSSInlineStyle, ElementContentEditable, GlobalEventHandlers, HTMLOrSVGElement {
17997+
interface HTMLElement extends Element, ElementCSSInlineStyle, ElementContentEditable, GlobalEventHandlers, HTMLOrSVGOrMathMLElement {
1798817998
/**
1798917999
* The **`HTMLElement.accessKey`** property sets the keystroke which a user can press to jump to a given element.
1799018000
*
@@ -20309,7 +20319,7 @@ declare var HTMLOptionsCollection: {
2030920319
new(): HTMLOptionsCollection;
2031020320
};
2031120321

20312-
interface HTMLOrSVGElement {
20322+
interface HTMLOrSVGOrMathMLElement {
2031320323
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/autofocus) */
2031420324
autofocus: boolean;
2031520325
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/dataset) */
@@ -24033,7 +24043,7 @@ interface MathMLElementEventMap extends ElementEventMap, GlobalEventHandlersEven
2403324043
*
2403424044
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/MathMLElement)
2403524045
*/
24036-
interface MathMLElement extends Element, ElementCSSInlineStyle, GlobalEventHandlers, HTMLOrSVGElement {
24046+
interface MathMLElement extends Element, ElementCSSInlineStyle, GlobalEventHandlers, HTMLOrSVGOrMathMLElement {
2403724047
addEventListener<K extends keyof MathMLElementEventMap>(type: K, listener: (this: MathMLElement, ev: MathMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
2403824048
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
2403924049
removeEventListener<K extends keyof MathMLElementEventMap>(type: K, listener: (this: MathMLElement, ev: MathMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
@@ -26030,6 +26040,7 @@ declare var NavigationPreloadManager: {
2603026040
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/NavigationTransition)
2603126041
*/
2603226042
interface NavigationTransition {
26043+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/NavigationTransition/committed) */
2603326044
readonly committed: Promise<void>;
2603426045
/**
2603526046
* 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 +31836,7 @@ interface SVGElementEventMap extends ElementEventMap, GlobalEventHandlersEventMa
3182531836
*
3182631837
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGElement)
3182731838
*/
31828-
interface SVGElement extends Element, ElementCSSInlineStyle, GlobalEventHandlers, HTMLOrSVGElement {
31839+
interface SVGElement extends Element, ElementCSSInlineStyle, GlobalEventHandlers, HTMLOrSVGOrMathMLElement {
3182931840
/** @deprecated */
3183031841
readonly className: any;
3183131842
/**

inputfiles/patches/webauthn.kdl

Lines changed: 19 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -14,33 +14,41 @@ removals {
1414
// https://searchfox.org/mozilla-central/source/dom/webidl/WebAuthentication.webidl
1515
// https://searchfox.org/wubkat/source/Source/WebCore/Modules/webauthn/AuthenticationExtensionsClientInputs.idl
1616
// https://source.chromium.org/chromium/chromium/src/+/main:third_party/blink/renderer/modules/credentialmanagement/authentication_extensions_client_inputs.idl
17-
member appidExclude
18-
member credBlob
19-
member getCredBlob
20-
member hmacGetSecret // No implementation as of 2025-05
21-
member payment
17+
member appidExclude // Blink only as of 2026-05
18+
member credBlob // Blink only as of 2026-05
19+
member getCredBlob // Blink only as of 2026-05
20+
member hmacGetSecret // No implementation as of 2026-05
21+
member payment // Blink test only as of 2026-05
22+
member remoteClientDataJSON // No implementation as of 2026-05
2223
}
2324

2425
dictionary AuthenticationExtensionsClientInputsJSON {
25-
member appidExclude
26+
member appidExclude // Blink only as of 2026-05
27+
member remoteClientDataJSON // No implementation as of 2026-05
2628
}
2729

2830
dictionary AuthenticationExtensionsClientOutputs {
2931
// (same as *Inputs)
30-
member appidExclude // No implementation as of 2025-05
31-
member hmacGetSecret // No implementation as of 2025-05
32-
member payment // Blink only as of 2025-06
32+
member appidExclude // No implementation as of 2026-05
33+
member hmacGetSecret // No implementation as of 2026-05
34+
member payment // Blink only as of 2026-05
35+
member remoteClientDataJson // No implementation as of 2026-05
36+
}
37+
38+
dictionary AuthenticationExtensionsClientOutputsJSON {
39+
member appidExclude // No implementation as of 2026-05
40+
member remoteClientDataJson // No implementation as of 2026-05
3341
}
3442

3543
dictionary PublicKeyCredentialCreationOptions {
3644
member attestationFormats // Blink only as of 2024-08
3745
member hints // Blink only as of 2024-08
3846
}
39-
47+
4048
dictionary PublicKeyCredentialCreationOptionsJSON {
4149
member attestationFormats // Gecko only as of 2024-08
4250
}
43-
51+
4452
dictionary PublicKeyCredentialRequestOptions {
4553
member hints // Blink only as of 2024-08
4654
}
@@ -56,8 +64,4 @@ removals {
5664
member otp
5765
member password
5866
}
59-
60-
dictionary AuthenticationExtensionsClientOutputsJSON {
61-
member appidExclude // No implementation as of 2025-12
62-
}
6367
}

inputfiles/removedTypes.jsonc

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -200,11 +200,8 @@
200200
"RequestInit": {
201201
"members": {
202202
"member": {
203-
"adAuctionHeaders": null, // Blink only as of 2023-11
204-
"attributionReporting": null, // Blink only as of 2023-10
205203
"duplex": null, // Blink only as of 2023-09
206204
"privateToken": null, // Blink only as of 2023-09
207-
"sharedStorageWritable": null, // Blink only as of 2023-10
208205
"targetAddressSpace": null // Blink only as of 2023-09
209206
}
210207
}

0 commit comments

Comments
 (0)