Skip to content
Closed
Show file tree
Hide file tree
Changes from 3 commits
Commits
Show all changes
96 commits
Select commit Hold shift + click to select a range
bd92e81
added overriding type to dom lib
cosmic-pixel-painter Sep 24, 2025
4be812a
added onerror test
cosmic-pixel-painter Sep 24, 2025
ac32a76
added event listener fix to html and svg element
cosmic-pixel-painter Sep 24, 2025
cf5656c
added comments to eventlistener test
cosmic-pixel-painter Sep 25, 2025
3d72672
addressed style comment
cosmic-pixel-painter Sep 25, 2025
20d4156
reverted style change
cosmic-pixel-painter Sep 25, 2025
2aa51ae
Update to bcd@7.1.6 (#2166)
saschanaz Sep 26, 2025
24c0ae0
Update to bcd@7.1.8 (#2167)
saschanaz Sep 26, 2025
854128c
Support methods without names in interfaces (#2169)
Bashamega Sep 28, 2025
c7e2a5c
Regroup patches into each spec (#2170)
saschanaz Sep 28, 2025
acf138d
Remove unneeded command maps (#2173)
Bashamega Sep 30, 2025
8339493
Make URLPatternResult properties mandatory (#2183)
Renegade334 Oct 1, 2025
77e5897
Introduce CSSStyleDeclarationBase (#2174)
saschanaz Oct 1, 2025
74cb4f6
Bump actions/setup-node from 4 to 5 (#2182)
dependabot[bot] Oct 2, 2025
2c5635a
Bump the dev-dependencies group across 1 directory with 5 updates (#2…
dependabot[bot] Oct 2, 2025
3baf463
Bump eslint from 9.34.0 to 9.36.0 in the eslint group across 1 direct…
dependabot[bot] Oct 2, 2025
eeea584
Move iterables into main d.ts files in 6.0, reference es2015 and es20…
jakebailey Oct 2, 2025
cf21d7e
Use union for FileSystemDirectoryHandle (#2186)
saschanaz Oct 3, 2025
9b934cb
Add curly rule to ESLint configuration (#2189)
Bashamega Oct 5, 2025
0a73b57
Update to bcd@7.1.10, idl@3.68.0 (#2190)
saschanaz Oct 5, 2025
8593eb5
Update core dependencies (#2149)
typescript-bot Oct 6, 2025
e1b6aac
Remove redundant SVGStyleElement override (#2192)
Renegade334 Oct 7, 2025
c917dc5
Update core dependencies (#2191)
typescript-bot Oct 10, 2025
a0a37cf
Update core dependencies (#2195)
typescript-bot Oct 13, 2025
c51c5e2
Fix a few deploy issues (#2194)
jakebailey Oct 13, 2025
41c31e6
Update core dependencies (#2196)
typescript-bot Oct 16, 2025
843135f
Update core dependencies (#2198)
typescript-bot Oct 18, 2025
35399c7
Update core dependencies (#2200)
typescript-bot Oct 22, 2025
c84a7fb
Update core dependencies (#2202)
typescript-bot Oct 23, 2025
0297597
Un-quash `ReadableStreamBYOBReader#read` options parameter (#2201)
Renegade334 Oct 23, 2025
9bdb029
Update messageerror event's type in service worker to ExtendableMessa…
dhurlburtusa Oct 25, 2025
60b79a3
Update core dependencies (#2207)
typescript-bot Oct 27, 2025
77d2da9
Update core dependencies (#2208)
typescript-bot Oct 29, 2025
b1aac77
Recreate codeql workflow (#2184)
jakebailey Oct 29, 2025
f3422d1
Bump github/codeql-action from 3.29.7 to 3.30.5 (#2181)
dependabot[bot] Oct 29, 2025
aed91e4
Adds TSGO (#2104)
Bashamega Oct 30, 2025
882eef0
Update core dependencies (#2210)
typescript-bot Oct 31, 2025
68a36dc
Update core dependencies (#2212)
typescript-bot Oct 31, 2025
3e0771e
Fix overrides for non-shared ArrayBuffer views (#2206)
Renegade334 Nov 1, 2025
d21b002
MDN description V2 (#2171)
Bashamega Nov 1, 2025
e507064
Remove unused commentCleanup function from emitDom in build.ts (#2215)
Bashamega Nov 1, 2025
1e15d5c
Migrate deprecated json file to KDL (#2214)
Bashamega Nov 1, 2025
41ce939
Bump actions/setup-node from 5 to 6 (#2223)
dependabot[bot] Nov 1, 2025
358c4d3
Bump the dev-dependencies group with 7 updates (#2220)
dependabot[bot] Nov 2, 2025
ad36cbe
Update core dependencies (#2216)
typescript-bot Nov 2, 2025
00d9145
Bump eslint from 9.36.0 to 9.39.0 in the eslint group across 1 direct…
dependabot[bot] Nov 2, 2025
27f8b71
Remove `toLowerCase` functions in MDN comments (#2224)
Bashamega Nov 2, 2025
7179603
Refactor CSS utility functions and remove unused files (#2217)
Bashamega Nov 2, 2025
17ac2ac
Comments for css (#2218)
Bashamega Nov 3, 2025
6253970
Bump @webref/css from 6.23.15 to 8.0.0 (#2230)
saschanaz Nov 3, 2025
0a38f9e
Migrate payment related interfaces & Support Interface rename (#2229)
Bashamega Nov 3, 2025
53c90c7
Add support for parsing dictionary nodes in KDL (#2228)
Bashamega Nov 4, 2025
f4264a2
Update core dependencies (#2233)
typescript-bot Nov 4, 2025
2bdd496
Migrate ValueTypeMap & MemoryDescriptor (#2232)
Bashamega Nov 5, 2025
8fc0682
Migrate file system to KDL (#2234)
Bashamega Nov 5, 2025
fb8ed4c
Migrated device-motion to KDL (#2235)
martymcnutt1 Nov 5, 2025
8517969
Add support for parsing deprecated property in member nodes (#2231)
Bashamega Nov 5, 2025
93d8936
Bump actions/checkout from 4 to 5 (#2132)
dependabot[bot] Nov 5, 2025
3ebbf4f
override scroll methods to return void until browser implementation c…
Bashamega Nov 6, 2025
609f1e1
Refactor emitFlavor function to streamline file generation (#2240)
Bashamega Nov 6, 2025
53ab565
Migrate URL patterns (#2239)
Bashamega Nov 6, 2025
2cea3f6
Migrate CSSFontFaceRule and CSSStyleProperties (#2238)
Bashamega Nov 6, 2025
84cf9ae
Sort fetched MDN data by URL before saving to file (#2243)
Bashamega Nov 6, 2025
659ad52
Add handling for type parameters and override type in dictionary memb…
Bashamega Nov 6, 2025
fd68358
Migrate websockets and remove extra websocket related events (#2246)
Bashamega Nov 6, 2025
4ce7a4d
Migrate Crypto and handle property typed (#2244)
Bashamega Nov 6, 2025
89714d0
Move the generate comments function down after all the merges (#2245)
Bashamega Nov 6, 2025
f915ac0
Support for multiple method signatures (#2227)
Bashamega Nov 7, 2025
8f1ef52
Bump js-yaml from 4.1.0 to 4.1.1 (#2251)
dependabot[bot] Nov 15, 2025
4792f8a
Bump glob from 11.0.1 to 11.1.0 (#2253)
dependabot[bot] Nov 18, 2025
8338cdf
Removed extra entries (#2248)
Bashamega Nov 23, 2025
17a020b
Adjust @webref/events listAll return type (#2255)
erik-beus Nov 23, 2025
945a62b
Bump actions/checkout from 5 to 6 (#2262)
dependabot[bot] Dec 2, 2025
2afd637
Add `"until-found"` to `HTMLElement.hidden` (#2254)
laymonage Dec 2, 2025
caaa677
Bump @webref/css from 8.0.1 to 8.1.0 (#2260)
dependabot[bot] Dec 2, 2025
67ceacc
Bump @webref/events from 1.19.1 to 1.19.2 (#2259)
dependabot[bot] Dec 2, 2025
9969062
KDL support for removals (#2250)
Bashamega Dec 2, 2025
7cbed05
Support more options for typeParameters (#2249)
Bashamega Dec 2, 2025
05aa22e
Bump the eslint group with 3 updates (#2257)
dependabot[bot] Dec 3, 2025
d486bb2
Bump @webref/idl from 3.68.4 to 3.69.0 (#2265)
saschanaz Dec 3, 2025
ad91b6a
Bump the dev-dependencies group across 1 directory with 4 updates (#2…
dependabot[bot] Dec 3, 2025
96e152c
Unhide showPopover/togglePopover options (#2266)
saschanaz Dec 4, 2025
f15f2b3
Update MDN comments (#2267)
saschanaz Dec 4, 2025
3900beb
Update to bcd@7.1.23, idl@3.69.1 (#2268)
saschanaz Dec 4, 2025
e471abc
Bump jws from 3.2.2 to 3.2.3 (#2270)
dependabot[bot] Dec 5, 2025
e7b79de
gave overriding type a more descriptive name
cosmic-pixel-painter Dec 6, 2025
0dc24aa
added overriding type to dom lib
cosmic-pixel-painter Sep 24, 2025
9b4cda8
added onerror test
cosmic-pixel-painter Sep 24, 2025
ac15d69
added event listener fix to html and svg element
cosmic-pixel-painter Sep 24, 2025
33ad906
added comments to eventlistener test
cosmic-pixel-painter Sep 25, 2025
72be5b4
addressed style comment
cosmic-pixel-painter Sep 25, 2025
88eb1fc
reverted style change
cosmic-pixel-painter Sep 25, 2025
2503891
gave overriding type a more descriptive name
cosmic-pixel-painter Dec 6, 2025
15d2335
rebased with upstream
cosmic-pixel-painter Dec 6, 2025
1eb4210
merged down
cosmic-pixel-painter Dec 6, 2025
0921ccf
merged down
cosmic-pixel-painter Dec 6, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 21 additions & 2 deletions baselines/dom.generated.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13142,7 +13142,7 @@ interface GlobalEventHandlers {
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/ended_event) */
onended: ((this: GlobalEventHandlers, ev: Event) => any) | null;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/error_event) */
onerror: OnErrorEventHandler;
onerror: DocumentOrGlobalOnErrorHandler;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/focus_event) */
onfocus: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFormElement/formdata_event) */
Expand Down Expand Up @@ -14183,6 +14183,12 @@ interface HTMLElement extends Element, ElementCSSInlineStyle, ElementContentEdit
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/togglePopover)
*/
togglePopover(options?: boolean): boolean;
/**
* The addEventListener() method of the EventTarget interface sets up a function that will be called whenever the specified event is delivered to the target.
*
* [MDN Reference](https://developer.mozilla.org/en-US/docs/Web/API/EventTarget/addEventListener)
*/
addEventListener(type: string, listener: ((event: Event) => void) | ((event: UIEvent) => void)): void;
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
Expand Down Expand Up @@ -27401,6 +27407,12 @@ interface SVGElement extends Element, ElementCSSInlineStyle, GlobalEventHandlers
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGElement/viewportElement)
*/
readonly viewportElement: SVGElement | null;
/**
* The addEventListener() method of the EventTarget interface sets up a function that will be called whenever the specified event is delivered to the target.
*
* [MDN Reference](https://developer.mozilla.org/en-US/docs/Web/API/EventTarget/addEventListener)
*/
addEventListener(type: string, listener: ((event: Event) => void) | ((event: UIEvent) => void)): void;
addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
Expand Down Expand Up @@ -29763,6 +29775,12 @@ interface SVGSVGElement extends SVGGraphicsElement, SVGFitToViewBox, WindowEvent
unsuspendRedraw(suspendHandleID: number): void;
/** @deprecated */
unsuspendRedrawAll(): void;
/**
* The addEventListener() method of the EventTarget interface sets up a function that will be called whenever the specified event is delivered to the target.
*
* [MDN Reference](https://developer.mozilla.org/en-US/docs/Web/API/EventTarget/addEventListener)
*/
addEventListener(type: string, listener: ((event: Event) => void) | ((event: UIEvent) => void)): void;
addEventListener<K extends keyof SVGSVGElementEventMap>(type: K, listener: (this: SVGSVGElement, ev: SVGSVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
removeEventListener<K extends keyof SVGSVGElementEventMap>(type: K, listener: (this: SVGSVGElement, ev: SVGSVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
Expand Down Expand Up @@ -39572,7 +39590,7 @@ declare var onemptied: ((this: Window, ev: Event) => any) | null;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/ended_event) */
declare var onended: ((this: Window, ev: Event) => any) | null;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/error_event) */
declare var onerror: OnErrorEventHandler;
declare var onerror: DocumentOrGlobalOnErrorHandler;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/focus_event) */
declare var onfocus: ((this: Window, ev: FocusEvent) => any) | null;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFormElement/formdata_event) */
Expand Down Expand Up @@ -39849,6 +39867,7 @@ type ConstrainDouble = number | ConstrainDoubleRange;
type ConstrainULong = number | ConstrainULongRange;
type CookieList = CookieListItem[];
type DOMHighResTimeStamp = number;
type DocumentOrGlobalOnErrorHandler = (((event: Event) => any) | ((event: UIEvent) => any) | OnErrorEventHandlerNonNull) | null;
type EpochTimeStamp = number;
type EventListenerOrEventListenerObject = EventListener | EventListenerObject;
type FileSystemWriteChunkType = BufferSource | Blob | string | WriteParams;
Expand Down
23 changes: 21 additions & 2 deletions baselines/ts5.5/dom.generated.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13131,7 +13131,7 @@ interface GlobalEventHandlers {
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/ended_event) */
onended: ((this: GlobalEventHandlers, ev: Event) => any) | null;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/error_event) */
onerror: OnErrorEventHandler;
onerror: DocumentOrGlobalOnErrorHandler;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/focus_event) */
onfocus: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFormElement/formdata_event) */
Expand Down Expand Up @@ -14170,6 +14170,12 @@ interface HTMLElement extends Element, ElementCSSInlineStyle, ElementContentEdit
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/togglePopover)
*/
togglePopover(options?: boolean): boolean;
/**
* The addEventListener() method of the EventTarget interface sets up a function that will be called whenever the specified event is delivered to the target.
*
* [MDN Reference](https://developer.mozilla.org/en-US/docs/Web/API/EventTarget/addEventListener)
*/
addEventListener(type: string, listener: ((event: Event) => void) | ((event: UIEvent) => void)): void;
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
Expand Down Expand Up @@ -27379,6 +27385,12 @@ interface SVGElement extends Element, ElementCSSInlineStyle, GlobalEventHandlers
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGElement/viewportElement)
*/
readonly viewportElement: SVGElement | null;
/**
* The addEventListener() method of the EventTarget interface sets up a function that will be called whenever the specified event is delivered to the target.
*
* [MDN Reference](https://developer.mozilla.org/en-US/docs/Web/API/EventTarget/addEventListener)
*/
addEventListener(type: string, listener: ((event: Event) => void) | ((event: UIEvent) => void)): void;
addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
Expand Down Expand Up @@ -29741,6 +29753,12 @@ interface SVGSVGElement extends SVGGraphicsElement, SVGFitToViewBox, WindowEvent
unsuspendRedraw(suspendHandleID: number): void;
/** @deprecated */
unsuspendRedrawAll(): void;
/**
* The addEventListener() method of the EventTarget interface sets up a function that will be called whenever the specified event is delivered to the target.
*
* [MDN Reference](https://developer.mozilla.org/en-US/docs/Web/API/EventTarget/addEventListener)
*/
addEventListener(type: string, listener: ((event: Event) => void) | ((event: UIEvent) => void)): void;
addEventListener<K extends keyof SVGSVGElementEventMap>(type: K, listener: (this: SVGSVGElement, ev: SVGSVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
removeEventListener<K extends keyof SVGSVGElementEventMap>(type: K, listener: (this: SVGSVGElement, ev: SVGSVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
Expand Down Expand Up @@ -39549,7 +39567,7 @@ declare var onemptied: ((this: Window, ev: Event) => any) | null;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/ended_event) */
declare var onended: ((this: Window, ev: Event) => any) | null;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/error_event) */
declare var onerror: OnErrorEventHandler;
declare var onerror: DocumentOrGlobalOnErrorHandler;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/focus_event) */
declare var onfocus: ((this: Window, ev: FocusEvent) => any) | null;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFormElement/formdata_event) */
Expand Down Expand Up @@ -39826,6 +39844,7 @@ type ConstrainDouble = number | ConstrainDoubleRange;
type ConstrainULong = number | ConstrainULongRange;
type CookieList = CookieListItem[];
type DOMHighResTimeStamp = number;
type DocumentOrGlobalOnErrorHandler = (((event: Event) => any) | ((event: UIEvent) => any) | OnErrorEventHandlerNonNull) | null;
type EpochTimeStamp = number;
type EventListenerOrEventListenerObject = EventListener | EventListenerObject;
type FileSystemWriteChunkType = BufferSource | Blob | string | WriteParams;
Expand Down
23 changes: 21 additions & 2 deletions baselines/ts5.6/dom.generated.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13142,7 +13142,7 @@ interface GlobalEventHandlers {
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/ended_event) */
onended: ((this: GlobalEventHandlers, ev: Event) => any) | null;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/error_event) */
onerror: OnErrorEventHandler;
onerror: DocumentOrGlobalOnErrorHandler;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/focus_event) */
onfocus: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFormElement/formdata_event) */
Expand Down Expand Up @@ -14183,6 +14183,12 @@ interface HTMLElement extends Element, ElementCSSInlineStyle, ElementContentEdit
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/togglePopover)
*/
togglePopover(options?: boolean): boolean;
/**
* The addEventListener() method of the EventTarget interface sets up a function that will be called whenever the specified event is delivered to the target.
*
* [MDN Reference](https://developer.mozilla.org/en-US/docs/Web/API/EventTarget/addEventListener)
*/
addEventListener(type: string, listener: ((event: Event) => void) | ((event: UIEvent) => void)): void;
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
Expand Down Expand Up @@ -27401,6 +27407,12 @@ interface SVGElement extends Element, ElementCSSInlineStyle, GlobalEventHandlers
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGElement/viewportElement)
*/
readonly viewportElement: SVGElement | null;
/**
* The addEventListener() method of the EventTarget interface sets up a function that will be called whenever the specified event is delivered to the target.
*
* [MDN Reference](https://developer.mozilla.org/en-US/docs/Web/API/EventTarget/addEventListener)
*/
addEventListener(type: string, listener: ((event: Event) => void) | ((event: UIEvent) => void)): void;
addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
Expand Down Expand Up @@ -29763,6 +29775,12 @@ interface SVGSVGElement extends SVGGraphicsElement, SVGFitToViewBox, WindowEvent
unsuspendRedraw(suspendHandleID: number): void;
/** @deprecated */
unsuspendRedrawAll(): void;
/**
* The addEventListener() method of the EventTarget interface sets up a function that will be called whenever the specified event is delivered to the target.
*
* [MDN Reference](https://developer.mozilla.org/en-US/docs/Web/API/EventTarget/addEventListener)
*/
addEventListener(type: string, listener: ((event: Event) => void) | ((event: UIEvent) => void)): void;
addEventListener<K extends keyof SVGSVGElementEventMap>(type: K, listener: (this: SVGSVGElement, ev: SVGSVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
removeEventListener<K extends keyof SVGSVGElementEventMap>(type: K, listener: (this: SVGSVGElement, ev: SVGSVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
Expand Down Expand Up @@ -39572,7 +39590,7 @@ declare var onemptied: ((this: Window, ev: Event) => any) | null;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/ended_event) */
declare var onended: ((this: Window, ev: Event) => any) | null;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/error_event) */
declare var onerror: OnErrorEventHandler;
declare var onerror: DocumentOrGlobalOnErrorHandler;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/focus_event) */
declare var onfocus: ((this: Window, ev: FocusEvent) => any) | null;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFormElement/formdata_event) */
Expand Down Expand Up @@ -39849,6 +39867,7 @@ type ConstrainDouble = number | ConstrainDoubleRange;
type ConstrainULong = number | ConstrainULongRange;
type CookieList = CookieListItem[];
type DOMHighResTimeStamp = number;
type DocumentOrGlobalOnErrorHandler = (((event: Event) => any) | ((event: UIEvent) => any) | OnErrorEventHandlerNonNull) | null;
type EpochTimeStamp = number;
type EventListenerOrEventListenerObject = EventListener | EventListenerObject;
type FileSystemWriteChunkType = BufferSource | Blob | string | WriteParams;
Expand Down
6 changes: 6 additions & 0 deletions inputfiles/addedTypes.jsonc
Original file line number Diff line number Diff line change
Expand Up @@ -1216,6 +1216,12 @@
// Full spec at https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#autofill.
"name": "AutoFill",
"overrideType": "AutoFillBase | `${OptionalPrefixToken<AutoFillSection>}${OptionalPrefixToken<AutoFillAddressKind>}${AutoFillField}${OptionalPostfixToken<AutoFillCredentialField>}`"
},
{
"name": "DocumentOrGlobalOnErrorHandler",
"nullable": true,
"overrideType": "((event: Event) => any) | ((event: UIEvent) => any) | OnErrorEventHandlerNonNull",
"exposed": "Window"
}
]
}
Expand Down
1 change: 1 addition & 0 deletions inputfiles/knownTypes.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
"CompositeOperationOrAuto",
"ComputedKeyframe",
"DisplayCaptureSurfaceType",
"DocumentOrGlobalOnErrorHandler",
"EcdhKeyDeriveParams",
"EcdsaParams",
"EcKeyAlgorithm",
Expand Down
28 changes: 28 additions & 0 deletions inputfiles/overridingTypes.jsonc
Original file line number Diff line number Diff line change
Expand Up @@ -421,6 +421,14 @@
]
}
}
},
"addEventListener": {
"mdnUrl": "https://developer.mozilla.org/en-US/docs/Web/API/EventTarget/addEventListener",
"comment": "The addEventListener() method of the EventTarget interface sets up a function that will be called whenever the specified event is delivered to the target.",
"overrideSignatures": [
"addEventListener(type: string, listener: ((event: Event) => void) | ((event: UIEvent) => void)): void"
]

}
}
}
Expand Down Expand Up @@ -1281,6 +1289,18 @@
"type": "any"
}
}
},
"methods": {
"method": {
"addEventListener": {
"mdnUrl": "https://developer.mozilla.org/en-US/docs/Web/API/EventTarget/addEventListener",
"comment": "The addEventListener() method of the EventTarget interface sets up a function that will be called whenever the specified event is delivered to the target.",
"overrideSignatures": [
"addEventListener(type: string, listener: ((event: Event) => void) | ((event: UIEvent) => void)): void"
]

}
}
}
},
"SVGSVGElement": {
Expand All @@ -1299,6 +1319,14 @@
"overrideType": "NodeListOf<SVGCircleElement | SVGEllipseElement | SVGImageElement | SVGLineElement | SVGPathElement | SVGPolygonElement | SVGPolylineElement | SVGRectElement | SVGTextElement | SVGUseElement>"
}
}
},
"addEventListener": {
"mdnUrl": "https://developer.mozilla.org/en-US/docs/Web/API/EventTarget/addEventListener",
"comment": "The addEventListener() method of the EventTarget interface sets up a function that will be called whenever the specified event is delivered to the target.",
"overrideSignatures": [
"addEventListener(type: string, listener: ((event: Event) => void) | ((event: UIEvent) => void)): void"
]

}
}
}
Expand Down
2 changes: 1 addition & 1 deletion inputfiles/patches/events.kdl
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ interface-mixin GlobalEventHandlers {
event transitionstart type=TransitionEvent
event transitionend type=TransitionEvent
event transitioncancel type=TransitionEvent
property onerror overrideType=OnErrorEventHandler
property onerror overrideType=DocumentOrGlobalOnErrorHandler
}

interface-mixin MessageEventTarget {
Expand Down
Loading