diff --git a/baselines/dom.generated.d.ts b/baselines/dom.generated.d.ts index f59f92f69..0ee34eafa 100644 --- a/baselines/dom.generated.d.ts +++ b/baselines/dom.generated.d.ts @@ -713,6 +713,10 @@ interface GetAnimationsOptions { subtree?: boolean; } +interface GetComposedRangesOptions { + shadowRoots?: ShadowRoot[]; +} + interface GetHTMLOptions { serializableShadowRoots?: boolean; shadowRoots?: ShadowRoot[]; @@ -2517,6 +2521,7 @@ interface ANGLE_instanced_arrays { } interface ARIAMixin { + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaActiveDescendantElement) */ ariaActiveDescendantElement: Element | null; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaAtomic) */ ariaAtomic: string | null; @@ -2538,18 +2543,23 @@ interface ARIAMixin { ariaColIndexText: string | null; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaColSpan) */ ariaColSpan: string | null; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaControlsElements) */ ariaControlsElements: ReadonlyArray | null; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaCurrent) */ ariaCurrent: string | null; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaDescribedByElements) */ ariaDescribedByElements: ReadonlyArray | null; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaDescription) */ ariaDescription: string | null; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaDetailsElements) */ ariaDetailsElements: ReadonlyArray | null; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaDisabled) */ ariaDisabled: string | null; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaErrorMessageElements) */ ariaErrorMessageElements: ReadonlyArray | null; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaExpanded) */ ariaExpanded: string | null; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaFlowToElements) */ ariaFlowToElements: ReadonlyArray | null; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaHasPopup) */ ariaHasPopup: string | null; @@ -2561,6 +2571,7 @@ interface ARIAMixin { ariaKeyShortcuts: string | null; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaLabel) */ ariaLabel: string | null; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaLabelledByElements) */ ariaLabelledByElements: ReadonlyArray | null; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaLevel) */ ariaLevel: string | null; @@ -2574,6 +2585,7 @@ interface ARIAMixin { ariaMultiSelectable: string | null; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaOrientation) */ ariaOrientation: string | null; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaOwnsElements) */ ariaOwnsElements: ReadonlyArray | null; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaPlaceholder) */ ariaPlaceholder: string | null; @@ -10093,6 +10105,7 @@ interface GlobalEventHandlersEventMap { "animationstart": AnimationEvent; "auxclick": PointerEvent; "beforeinput": InputEvent; + "beforematch": Event; "beforetoggle": ToggleEvent; "blur": FocusEvent; "cancel": Event; @@ -10211,6 +10224,8 @@ interface GlobalEventHandlers { onauxclick: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/beforeinput_event) */ onbeforeinput: ((this: GlobalEventHandlers, ev: InputEvent) => any) | null; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/beforematch_event) */ + onbeforematch: ((this: GlobalEventHandlers, ev: Event) => any) | null; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/beforetoggle_event) */ onbeforetoggle: ((this: GlobalEventHandlers, ev: ToggleEvent) => any) | null; /** @@ -23488,6 +23503,8 @@ interface Selection { empty(): void; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Selection/extend) */ extend(node: Node, offset?: number): void; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Selection/getComposedRanges) */ + getComposedRanges(options?: GetComposedRangesOptions): StaticRange[]; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Selection/getRangeAt) */ getRangeAt(index: number): Range; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Selection/modify) */ @@ -30164,6 +30181,8 @@ declare var onanimationstart: ((this: Window, ev: AnimationEvent) => any) | null declare var onauxclick: ((this: Window, ev: PointerEvent) => any) | null; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/beforeinput_event) */ declare var onbeforeinput: ((this: Window, ev: InputEvent) => any) | null; +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/beforematch_event) */ +declare var onbeforematch: ((this: Window, ev: Event) => any) | null; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/beforetoggle_event) */ declare var onbeforetoggle: ((this: Window, ev: ToggleEvent) => any) | null; /** diff --git a/baselines/serviceworker.generated.d.ts b/baselines/serviceworker.generated.d.ts index c85eb34b6..3eb629f41 100644 --- a/baselines/serviceworker.generated.d.ts +++ b/baselines/serviceworker.generated.d.ts @@ -481,6 +481,11 @@ interface PushEventInit extends ExtendableEventInit { data?: PushMessageDataInit; } +interface PushSubscriptionChangeEventInit extends ExtendableEventInit { + newSubscription?: PushSubscription; + oldSubscription?: PushSubscription; +} + interface PushSubscriptionJSON { endpoint?: string; expirationTime?: EpochTimeStamp | null; @@ -4888,6 +4893,17 @@ declare var PushSubscription: { new(): PushSubscription; }; +/** Available only in secure contexts. */ +interface PushSubscriptionChangeEvent extends ExtendableEvent { + readonly newSubscription: PushSubscription | null; + readonly oldSubscription: PushSubscription | null; +} + +declare var PushSubscriptionChangeEvent: { + prototype: PushSubscriptionChangeEvent; + new(type: string, eventInitDict?: PushSubscriptionChangeEventInit): PushSubscriptionChangeEvent; +}; + /** * The **`PushSubscriptionOptions`** interface of the Push API represents the options associated with a push subscription. * Available only in secure contexts. @@ -5340,7 +5356,7 @@ interface ServiceWorkerGlobalScopeEventMap extends WorkerGlobalScopeEventMap { "notificationclick": NotificationEvent; "notificationclose": NotificationEvent; "push": PushEvent; - "pushsubscriptionchange": Event; + "pushsubscriptionchange": PushSubscriptionChangeEvent; } /** @@ -5371,7 +5387,7 @@ interface ServiceWorkerGlobalScope extends WorkerGlobalScope { /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerGlobalScope/push_event) */ onpush: ((this: ServiceWorkerGlobalScope, ev: PushEvent) => any) | null; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerGlobalScope/pushsubscriptionchange_event) */ - onpushsubscriptionchange: ((this: ServiceWorkerGlobalScope, ev: Event) => any) | null; + onpushsubscriptionchange: ((this: ServiceWorkerGlobalScope, ev: PushSubscriptionChangeEvent) => any) | null; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerGlobalScope/registration) */ readonly registration: ServiceWorkerRegistration; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerGlobalScope/serviceWorker) */ @@ -9015,7 +9031,7 @@ declare var onnotificationclose: ((this: ServiceWorkerGlobalScope, ev: Notificat /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerGlobalScope/push_event) */ declare var onpush: ((this: ServiceWorkerGlobalScope, ev: PushEvent) => any) | null; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerGlobalScope/pushsubscriptionchange_event) */ -declare var onpushsubscriptionchange: ((this: ServiceWorkerGlobalScope, ev: Event) => any) | null; +declare var onpushsubscriptionchange: ((this: ServiceWorkerGlobalScope, ev: PushSubscriptionChangeEvent) => any) | null; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerGlobalScope/registration) */ declare var registration: ServiceWorkerRegistration; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerGlobalScope/serviceWorker) */ diff --git a/baselines/ts5.5/dom.generated.d.ts b/baselines/ts5.5/dom.generated.d.ts index 7b606bbf2..20e09e2bb 100644 --- a/baselines/ts5.5/dom.generated.d.ts +++ b/baselines/ts5.5/dom.generated.d.ts @@ -713,6 +713,10 @@ interface GetAnimationsOptions { subtree?: boolean; } +interface GetComposedRangesOptions { + shadowRoots?: ShadowRoot[]; +} + interface GetHTMLOptions { serializableShadowRoots?: boolean; shadowRoots?: ShadowRoot[]; @@ -2517,6 +2521,7 @@ interface ANGLE_instanced_arrays { } interface ARIAMixin { + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaActiveDescendantElement) */ ariaActiveDescendantElement: Element | null; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaAtomic) */ ariaAtomic: string | null; @@ -2538,18 +2543,23 @@ interface ARIAMixin { ariaColIndexText: string | null; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaColSpan) */ ariaColSpan: string | null; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaControlsElements) */ ariaControlsElements: ReadonlyArray | null; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaCurrent) */ ariaCurrent: string | null; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaDescribedByElements) */ ariaDescribedByElements: ReadonlyArray | null; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaDescription) */ ariaDescription: string | null; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaDetailsElements) */ ariaDetailsElements: ReadonlyArray | null; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaDisabled) */ ariaDisabled: string | null; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaErrorMessageElements) */ ariaErrorMessageElements: ReadonlyArray | null; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaExpanded) */ ariaExpanded: string | null; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaFlowToElements) */ ariaFlowToElements: ReadonlyArray | null; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaHasPopup) */ ariaHasPopup: string | null; @@ -2561,6 +2571,7 @@ interface ARIAMixin { ariaKeyShortcuts: string | null; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaLabel) */ ariaLabel: string | null; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaLabelledByElements) */ ariaLabelledByElements: ReadonlyArray | null; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaLevel) */ ariaLevel: string | null; @@ -2574,6 +2585,7 @@ interface ARIAMixin { ariaMultiSelectable: string | null; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaOrientation) */ ariaOrientation: string | null; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaOwnsElements) */ ariaOwnsElements: ReadonlyArray | null; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaPlaceholder) */ ariaPlaceholder: string | null; @@ -10083,6 +10095,7 @@ interface GlobalEventHandlersEventMap { "animationstart": AnimationEvent; "auxclick": PointerEvent; "beforeinput": InputEvent; + "beforematch": Event; "beforetoggle": ToggleEvent; "blur": FocusEvent; "cancel": Event; @@ -10201,6 +10214,8 @@ interface GlobalEventHandlers { onauxclick: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/beforeinput_event) */ onbeforeinput: ((this: GlobalEventHandlers, ev: InputEvent) => any) | null; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/beforematch_event) */ + onbeforematch: ((this: GlobalEventHandlers, ev: Event) => any) | null; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/beforetoggle_event) */ onbeforetoggle: ((this: GlobalEventHandlers, ev: ToggleEvent) => any) | null; /** @@ -23467,6 +23482,8 @@ interface Selection { empty(): void; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Selection/extend) */ extend(node: Node, offset?: number): void; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Selection/getComposedRanges) */ + getComposedRanges(options?: GetComposedRangesOptions): StaticRange[]; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Selection/getRangeAt) */ getRangeAt(index: number): Range; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Selection/modify) */ @@ -30142,6 +30159,8 @@ declare var onanimationstart: ((this: Window, ev: AnimationEvent) => any) | null declare var onauxclick: ((this: Window, ev: PointerEvent) => any) | null; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/beforeinput_event) */ declare var onbeforeinput: ((this: Window, ev: InputEvent) => any) | null; +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/beforematch_event) */ +declare var onbeforematch: ((this: Window, ev: Event) => any) | null; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/beforetoggle_event) */ declare var onbeforetoggle: ((this: Window, ev: ToggleEvent) => any) | null; /** diff --git a/baselines/ts5.5/serviceworker.generated.d.ts b/baselines/ts5.5/serviceworker.generated.d.ts index 472e7dedf..a323eac8a 100644 --- a/baselines/ts5.5/serviceworker.generated.d.ts +++ b/baselines/ts5.5/serviceworker.generated.d.ts @@ -481,6 +481,11 @@ interface PushEventInit extends ExtendableEventInit { data?: PushMessageDataInit; } +interface PushSubscriptionChangeEventInit extends ExtendableEventInit { + newSubscription?: PushSubscription; + oldSubscription?: PushSubscription; +} + interface PushSubscriptionJSON { endpoint?: string; expirationTime?: EpochTimeStamp | null; @@ -4888,6 +4893,17 @@ declare var PushSubscription: { new(): PushSubscription; }; +/** Available only in secure contexts. */ +interface PushSubscriptionChangeEvent extends ExtendableEvent { + readonly newSubscription: PushSubscription | null; + readonly oldSubscription: PushSubscription | null; +} + +declare var PushSubscriptionChangeEvent: { + prototype: PushSubscriptionChangeEvent; + new(type: string, eventInitDict?: PushSubscriptionChangeEventInit): PushSubscriptionChangeEvent; +}; + /** * The **`PushSubscriptionOptions`** interface of the Push API represents the options associated with a push subscription. * Available only in secure contexts. @@ -5340,7 +5356,7 @@ interface ServiceWorkerGlobalScopeEventMap extends WorkerGlobalScopeEventMap { "notificationclick": NotificationEvent; "notificationclose": NotificationEvent; "push": PushEvent; - "pushsubscriptionchange": Event; + "pushsubscriptionchange": PushSubscriptionChangeEvent; } /** @@ -5371,7 +5387,7 @@ interface ServiceWorkerGlobalScope extends WorkerGlobalScope { /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerGlobalScope/push_event) */ onpush: ((this: ServiceWorkerGlobalScope, ev: PushEvent) => any) | null; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerGlobalScope/pushsubscriptionchange_event) */ - onpushsubscriptionchange: ((this: ServiceWorkerGlobalScope, ev: Event) => any) | null; + onpushsubscriptionchange: ((this: ServiceWorkerGlobalScope, ev: PushSubscriptionChangeEvent) => any) | null; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerGlobalScope/registration) */ readonly registration: ServiceWorkerRegistration; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerGlobalScope/serviceWorker) */ @@ -9015,7 +9031,7 @@ declare var onnotificationclose: ((this: ServiceWorkerGlobalScope, ev: Notificat /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerGlobalScope/push_event) */ declare var onpush: ((this: ServiceWorkerGlobalScope, ev: PushEvent) => any) | null; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerGlobalScope/pushsubscriptionchange_event) */ -declare var onpushsubscriptionchange: ((this: ServiceWorkerGlobalScope, ev: Event) => any) | null; +declare var onpushsubscriptionchange: ((this: ServiceWorkerGlobalScope, ev: PushSubscriptionChangeEvent) => any) | null; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerGlobalScope/registration) */ declare var registration: ServiceWorkerRegistration; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerGlobalScope/serviceWorker) */ diff --git a/baselines/ts5.5/webworker.generated.d.ts b/baselines/ts5.5/webworker.generated.d.ts index 576d57d88..d4a9d094b 100644 --- a/baselines/ts5.5/webworker.generated.d.ts +++ b/baselines/ts5.5/webworker.generated.d.ts @@ -603,6 +603,11 @@ interface PushEventInit extends ExtendableEventInit { data?: PushMessageDataInit; } +interface PushSubscriptionChangeEventInit extends ExtendableEventInit { + newSubscription?: PushSubscription; + oldSubscription?: PushSubscription; +} + interface PushSubscriptionJSON { endpoint?: string; expirationTime?: EpochTimeStamp | null; @@ -5494,6 +5499,17 @@ declare var PushSubscription: { new(): PushSubscription; }; +/** Available only in secure contexts. */ +interface PushSubscriptionChangeEvent extends ExtendableEvent { + readonly newSubscription: PushSubscription | null; + readonly oldSubscription: PushSubscription | null; +} + +declare var PushSubscriptionChangeEvent: { + prototype: PushSubscriptionChangeEvent; + new(type: string, eventInitDict?: PushSubscriptionChangeEventInit): PushSubscriptionChangeEvent; +}; + /** * The **`PushSubscriptionOptions`** interface of the Push API represents the options associated with a push subscription. * Available only in secure contexts. @@ -6091,7 +6107,7 @@ interface ServiceWorkerGlobalScopeEventMap extends WorkerGlobalScopeEventMap { "notificationclick": NotificationEvent; "notificationclose": NotificationEvent; "push": PushEvent; - "pushsubscriptionchange": Event; + "pushsubscriptionchange": PushSubscriptionChangeEvent; } /** @@ -6122,7 +6138,7 @@ interface ServiceWorkerGlobalScope extends WorkerGlobalScope { /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerGlobalScope/push_event) */ onpush: ((this: ServiceWorkerGlobalScope, ev: PushEvent) => any) | null; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerGlobalScope/pushsubscriptionchange_event) */ - onpushsubscriptionchange: ((this: ServiceWorkerGlobalScope, ev: Event) => any) | null; + onpushsubscriptionchange: ((this: ServiceWorkerGlobalScope, ev: PushSubscriptionChangeEvent) => any) | null; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerGlobalScope/registration) */ readonly registration: ServiceWorkerRegistration; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerGlobalScope/serviceWorker) */ diff --git a/baselines/ts5.6/dom.generated.d.ts b/baselines/ts5.6/dom.generated.d.ts index 94ed62bd2..eb3db3fc7 100644 --- a/baselines/ts5.6/dom.generated.d.ts +++ b/baselines/ts5.6/dom.generated.d.ts @@ -713,6 +713,10 @@ interface GetAnimationsOptions { subtree?: boolean; } +interface GetComposedRangesOptions { + shadowRoots?: ShadowRoot[]; +} + interface GetHTMLOptions { serializableShadowRoots?: boolean; shadowRoots?: ShadowRoot[]; @@ -2517,6 +2521,7 @@ interface ANGLE_instanced_arrays { } interface ARIAMixin { + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaActiveDescendantElement) */ ariaActiveDescendantElement: Element | null; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaAtomic) */ ariaAtomic: string | null; @@ -2538,18 +2543,23 @@ interface ARIAMixin { ariaColIndexText: string | null; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaColSpan) */ ariaColSpan: string | null; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaControlsElements) */ ariaControlsElements: ReadonlyArray | null; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaCurrent) */ ariaCurrent: string | null; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaDescribedByElements) */ ariaDescribedByElements: ReadonlyArray | null; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaDescription) */ ariaDescription: string | null; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaDetailsElements) */ ariaDetailsElements: ReadonlyArray | null; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaDisabled) */ ariaDisabled: string | null; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaErrorMessageElements) */ ariaErrorMessageElements: ReadonlyArray | null; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaExpanded) */ ariaExpanded: string | null; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaFlowToElements) */ ariaFlowToElements: ReadonlyArray | null; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaHasPopup) */ ariaHasPopup: string | null; @@ -2561,6 +2571,7 @@ interface ARIAMixin { ariaKeyShortcuts: string | null; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaLabel) */ ariaLabel: string | null; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaLabelledByElements) */ ariaLabelledByElements: ReadonlyArray | null; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaLevel) */ ariaLevel: string | null; @@ -2574,6 +2585,7 @@ interface ARIAMixin { ariaMultiSelectable: string | null; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaOrientation) */ ariaOrientation: string | null; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaOwnsElements) */ ariaOwnsElements: ReadonlyArray | null; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaPlaceholder) */ ariaPlaceholder: string | null; @@ -10093,6 +10105,7 @@ interface GlobalEventHandlersEventMap { "animationstart": AnimationEvent; "auxclick": PointerEvent; "beforeinput": InputEvent; + "beforematch": Event; "beforetoggle": ToggleEvent; "blur": FocusEvent; "cancel": Event; @@ -10211,6 +10224,8 @@ interface GlobalEventHandlers { onauxclick: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/beforeinput_event) */ onbeforeinput: ((this: GlobalEventHandlers, ev: InputEvent) => any) | null; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/beforematch_event) */ + onbeforematch: ((this: GlobalEventHandlers, ev: Event) => any) | null; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/beforetoggle_event) */ onbeforetoggle: ((this: GlobalEventHandlers, ev: ToggleEvent) => any) | null; /** @@ -23488,6 +23503,8 @@ interface Selection { empty(): void; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Selection/extend) */ extend(node: Node, offset?: number): void; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Selection/getComposedRanges) */ + getComposedRanges(options?: GetComposedRangesOptions): StaticRange[]; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Selection/getRangeAt) */ getRangeAt(index: number): Range; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Selection/modify) */ @@ -30164,6 +30181,8 @@ declare var onanimationstart: ((this: Window, ev: AnimationEvent) => any) | null declare var onauxclick: ((this: Window, ev: PointerEvent) => any) | null; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/beforeinput_event) */ declare var onbeforeinput: ((this: Window, ev: InputEvent) => any) | null; +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/beforematch_event) */ +declare var onbeforematch: ((this: Window, ev: Event) => any) | null; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/beforetoggle_event) */ declare var onbeforetoggle: ((this: Window, ev: ToggleEvent) => any) | null; /** diff --git a/baselines/ts5.6/serviceworker.generated.d.ts b/baselines/ts5.6/serviceworker.generated.d.ts index 472e7dedf..a323eac8a 100644 --- a/baselines/ts5.6/serviceworker.generated.d.ts +++ b/baselines/ts5.6/serviceworker.generated.d.ts @@ -481,6 +481,11 @@ interface PushEventInit extends ExtendableEventInit { data?: PushMessageDataInit; } +interface PushSubscriptionChangeEventInit extends ExtendableEventInit { + newSubscription?: PushSubscription; + oldSubscription?: PushSubscription; +} + interface PushSubscriptionJSON { endpoint?: string; expirationTime?: EpochTimeStamp | null; @@ -4888,6 +4893,17 @@ declare var PushSubscription: { new(): PushSubscription; }; +/** Available only in secure contexts. */ +interface PushSubscriptionChangeEvent extends ExtendableEvent { + readonly newSubscription: PushSubscription | null; + readonly oldSubscription: PushSubscription | null; +} + +declare var PushSubscriptionChangeEvent: { + prototype: PushSubscriptionChangeEvent; + new(type: string, eventInitDict?: PushSubscriptionChangeEventInit): PushSubscriptionChangeEvent; +}; + /** * The **`PushSubscriptionOptions`** interface of the Push API represents the options associated with a push subscription. * Available only in secure contexts. @@ -5340,7 +5356,7 @@ interface ServiceWorkerGlobalScopeEventMap extends WorkerGlobalScopeEventMap { "notificationclick": NotificationEvent; "notificationclose": NotificationEvent; "push": PushEvent; - "pushsubscriptionchange": Event; + "pushsubscriptionchange": PushSubscriptionChangeEvent; } /** @@ -5371,7 +5387,7 @@ interface ServiceWorkerGlobalScope extends WorkerGlobalScope { /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerGlobalScope/push_event) */ onpush: ((this: ServiceWorkerGlobalScope, ev: PushEvent) => any) | null; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerGlobalScope/pushsubscriptionchange_event) */ - onpushsubscriptionchange: ((this: ServiceWorkerGlobalScope, ev: Event) => any) | null; + onpushsubscriptionchange: ((this: ServiceWorkerGlobalScope, ev: PushSubscriptionChangeEvent) => any) | null; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerGlobalScope/registration) */ readonly registration: ServiceWorkerRegistration; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerGlobalScope/serviceWorker) */ @@ -9015,7 +9031,7 @@ declare var onnotificationclose: ((this: ServiceWorkerGlobalScope, ev: Notificat /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerGlobalScope/push_event) */ declare var onpush: ((this: ServiceWorkerGlobalScope, ev: PushEvent) => any) | null; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerGlobalScope/pushsubscriptionchange_event) */ -declare var onpushsubscriptionchange: ((this: ServiceWorkerGlobalScope, ev: Event) => any) | null; +declare var onpushsubscriptionchange: ((this: ServiceWorkerGlobalScope, ev: PushSubscriptionChangeEvent) => any) | null; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerGlobalScope/registration) */ declare var registration: ServiceWorkerRegistration; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerGlobalScope/serviceWorker) */ diff --git a/baselines/ts5.6/webworker.generated.d.ts b/baselines/ts5.6/webworker.generated.d.ts index 576d57d88..d4a9d094b 100644 --- a/baselines/ts5.6/webworker.generated.d.ts +++ b/baselines/ts5.6/webworker.generated.d.ts @@ -603,6 +603,11 @@ interface PushEventInit extends ExtendableEventInit { data?: PushMessageDataInit; } +interface PushSubscriptionChangeEventInit extends ExtendableEventInit { + newSubscription?: PushSubscription; + oldSubscription?: PushSubscription; +} + interface PushSubscriptionJSON { endpoint?: string; expirationTime?: EpochTimeStamp | null; @@ -5494,6 +5499,17 @@ declare var PushSubscription: { new(): PushSubscription; }; +/** Available only in secure contexts. */ +interface PushSubscriptionChangeEvent extends ExtendableEvent { + readonly newSubscription: PushSubscription | null; + readonly oldSubscription: PushSubscription | null; +} + +declare var PushSubscriptionChangeEvent: { + prototype: PushSubscriptionChangeEvent; + new(type: string, eventInitDict?: PushSubscriptionChangeEventInit): PushSubscriptionChangeEvent; +}; + /** * The **`PushSubscriptionOptions`** interface of the Push API represents the options associated with a push subscription. * Available only in secure contexts. @@ -6091,7 +6107,7 @@ interface ServiceWorkerGlobalScopeEventMap extends WorkerGlobalScopeEventMap { "notificationclick": NotificationEvent; "notificationclose": NotificationEvent; "push": PushEvent; - "pushsubscriptionchange": Event; + "pushsubscriptionchange": PushSubscriptionChangeEvent; } /** @@ -6122,7 +6138,7 @@ interface ServiceWorkerGlobalScope extends WorkerGlobalScope { /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerGlobalScope/push_event) */ onpush: ((this: ServiceWorkerGlobalScope, ev: PushEvent) => any) | null; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerGlobalScope/pushsubscriptionchange_event) */ - onpushsubscriptionchange: ((this: ServiceWorkerGlobalScope, ev: Event) => any) | null; + onpushsubscriptionchange: ((this: ServiceWorkerGlobalScope, ev: PushSubscriptionChangeEvent) => any) | null; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerGlobalScope/registration) */ readonly registration: ServiceWorkerRegistration; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerGlobalScope/serviceWorker) */ diff --git a/baselines/webworker.generated.d.ts b/baselines/webworker.generated.d.ts index 1aaab763e..b3ee80a88 100644 --- a/baselines/webworker.generated.d.ts +++ b/baselines/webworker.generated.d.ts @@ -603,6 +603,11 @@ interface PushEventInit extends ExtendableEventInit { data?: PushMessageDataInit; } +interface PushSubscriptionChangeEventInit extends ExtendableEventInit { + newSubscription?: PushSubscription; + oldSubscription?: PushSubscription; +} + interface PushSubscriptionJSON { endpoint?: string; expirationTime?: EpochTimeStamp | null; @@ -5494,6 +5499,17 @@ declare var PushSubscription: { new(): PushSubscription; }; +/** Available only in secure contexts. */ +interface PushSubscriptionChangeEvent extends ExtendableEvent { + readonly newSubscription: PushSubscription | null; + readonly oldSubscription: PushSubscription | null; +} + +declare var PushSubscriptionChangeEvent: { + prototype: PushSubscriptionChangeEvent; + new(type: string, eventInitDict?: PushSubscriptionChangeEventInit): PushSubscriptionChangeEvent; +}; + /** * The **`PushSubscriptionOptions`** interface of the Push API represents the options associated with a push subscription. * Available only in secure contexts. @@ -6091,7 +6107,7 @@ interface ServiceWorkerGlobalScopeEventMap extends WorkerGlobalScopeEventMap { "notificationclick": NotificationEvent; "notificationclose": NotificationEvent; "push": PushEvent; - "pushsubscriptionchange": Event; + "pushsubscriptionchange": PushSubscriptionChangeEvent; } /** @@ -6122,7 +6138,7 @@ interface ServiceWorkerGlobalScope extends WorkerGlobalScope { /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerGlobalScope/push_event) */ onpush: ((this: ServiceWorkerGlobalScope, ev: PushEvent) => any) | null; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerGlobalScope/pushsubscriptionchange_event) */ - onpushsubscriptionchange: ((this: ServiceWorkerGlobalScope, ev: Event) => any) | null; + onpushsubscriptionchange: ((this: ServiceWorkerGlobalScope, ev: PushSubscriptionChangeEvent) => any) | null; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerGlobalScope/registration) */ readonly registration: ServiceWorkerRegistration; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerGlobalScope/serviceWorker) */ diff --git a/inputfiles/mdn b/inputfiles/mdn index 63dd9b763..600382ef1 160000 --- a/inputfiles/mdn +++ b/inputfiles/mdn @@ -1 +1 @@ -Subproject commit 63dd9b763192e1aa40b75c04b0c3aa53d8cb974a +Subproject commit 600382ef110a36643b1f94d9ea2ae4779f8978cd diff --git a/package-lock.json b/package-lock.json index 32443e46f..cade1c660 100644 --- a/package-lock.json +++ b/package-lock.json @@ -348,9 +348,9 @@ } }, "node_modules/@mdn/browser-compat-data": { - "version": "6.0.11", - "resolved": "https://registry.npmjs.org/@mdn/browser-compat-data/-/browser-compat-data-6.0.11.tgz", - "integrity": "sha512-vcLCW2dvKfHGV4t/lkocstKvu15hfaMaAEaGTzL4wZ6ZWmI2aHbrFcO/LkK34jkFPjKXm3GHLm5h35u5WD4d9w==", + "version": "6.0.12", + "resolved": "https://registry.npmjs.org/@mdn/browser-compat-data/-/browser-compat-data-6.0.12.tgz", + "integrity": "sha512-lQ6p212jKeJBG+L7UYRKchTCcnQbp6yOj5swKxGLjvuW4SmbgWgd/WyA1Dxq1GGT86C7jVTEaKry36LmsBp8SQ==", "dev": true, "license": "CC0-1.0" },