diff --git a/baselines/dom.generated.d.ts b/baselines/dom.generated.d.ts index 7895a1662..6fcfb65a6 100644 --- a/baselines/dom.generated.d.ts +++ b/baselines/dom.generated.d.ts @@ -1748,6 +1748,11 @@ interface NavigationUpdateCurrentEntryOptions { state: any; } +interface NotificationAction { + action: string; + title: string; +} + interface NotificationOptions { badge?: string; body?: string; @@ -26715,6 +26720,12 @@ interface NotificationEventMap { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Notification) */ interface Notification extends EventTarget { + /** + * The **`actions`** read-only property of the Notification interface provides the actions available for users to choose from for interacting with the notification. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Notification/actions) + */ + readonly actions: ReadonlyArray; /** * The **`body`** read-only property of the Notification interface indicates the body string of the notification, as specified in the body option of the Notification() constructor. * @@ -26792,6 +26803,12 @@ interface Notification extends EventTarget { declare var Notification: { prototype: Notification; new(title: string, options?: NotificationOptions): Notification; + /** + * The **`maxActions`** read-only static property of the Notification interface returns the maximum number of actions supported by the device and the User Agent. Effectively, this is the maximum number of elements in Notification.actions array which will be respected by the User Agent. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Notification/maxActions_static) + */ + readonly maxActions: number; /** * The **`permission`** read-only static property of the Notification interface indicates the current permission granted by the user for the current origin to display web notifications. * @@ -29989,9 +30006,13 @@ interface RTCPeerConnectionIceErrorEvent extends Event { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCPeerConnectionIceErrorEvent/address) */ readonly address: string | null; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCPeerConnectionIceErrorEvent/errorCode) */ readonly errorCode: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCPeerConnectionIceErrorEvent/errorText) */ readonly errorText: string; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCPeerConnectionIceErrorEvent/port) */ readonly port: number | null; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCPeerConnectionIceErrorEvent/url) */ readonly url: string; } diff --git a/baselines/serviceworker.generated.d.ts b/baselines/serviceworker.generated.d.ts index 57f918ccc..aff210c74 100644 --- a/baselines/serviceworker.generated.d.ts +++ b/baselines/serviceworker.generated.d.ts @@ -801,6 +801,11 @@ interface NavigationPreloadState { headerValue?: string; } +interface NotificationAction { + action: string; + title: string; +} + interface NotificationEventInit extends ExtendableEventInit { action?: string; notification: Notification; @@ -6949,6 +6954,12 @@ interface NotificationEventMap { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Notification) */ interface Notification extends EventTarget { + /** + * The **`actions`** read-only property of the Notification interface provides the actions available for users to choose from for interacting with the notification. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Notification/actions) + */ + readonly actions: ReadonlyArray; /** * The **`body`** read-only property of the Notification interface indicates the body string of the notification, as specified in the body option of the Notification() constructor. * @@ -7026,6 +7037,12 @@ interface Notification extends EventTarget { declare var Notification: { prototype: Notification; new(title: string, options?: NotificationOptions): Notification; + /** + * The **`maxActions`** read-only static property of the Notification interface returns the maximum number of actions supported by the device and the User Agent. Effectively, this is the maximum number of elements in Notification.actions array which will be respected by the User Agent. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Notification/maxActions_static) + */ + readonly maxActions: number; /** * The **`permission`** read-only static property of the Notification interface indicates the current permission granted by the user for the current origin to display web notifications. * diff --git a/baselines/sharedworker.generated.d.ts b/baselines/sharedworker.generated.d.ts index e15f1d999..c80e71812 100644 --- a/baselines/sharedworker.generated.d.ts +++ b/baselines/sharedworker.generated.d.ts @@ -745,6 +745,11 @@ interface NavigationPreloadState { headerValue?: string; } +interface NotificationAction { + action: string; + title: string; +} + interface NotificationOptions { badge?: string; body?: string; @@ -6632,6 +6637,12 @@ interface NotificationEventMap { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Notification) */ interface Notification extends EventTarget { + /** + * The **`actions`** read-only property of the Notification interface provides the actions available for users to choose from for interacting with the notification. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Notification/actions) + */ + readonly actions: ReadonlyArray; /** * The **`body`** read-only property of the Notification interface indicates the body string of the notification, as specified in the body option of the Notification() constructor. * @@ -6709,6 +6720,12 @@ interface Notification extends EventTarget { declare var Notification: { prototype: Notification; new(title: string, options?: NotificationOptions): Notification; + /** + * The **`maxActions`** read-only static property of the Notification interface returns the maximum number of actions supported by the device and the User Agent. Effectively, this is the maximum number of elements in Notification.actions array which will be respected by the User Agent. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Notification/maxActions_static) + */ + readonly maxActions: number; /** * The **`permission`** read-only static property of the Notification interface indicates the current permission granted by the user for the current origin to display web notifications. * diff --git a/baselines/ts5.5/dom.generated.d.ts b/baselines/ts5.5/dom.generated.d.ts index 760d5f162..239120e2d 100644 --- a/baselines/ts5.5/dom.generated.d.ts +++ b/baselines/ts5.5/dom.generated.d.ts @@ -1745,6 +1745,11 @@ interface NavigationUpdateCurrentEntryOptions { state: any; } +interface NotificationAction { + action: string; + title: string; +} + interface NotificationOptions { badge?: string; body?: string; @@ -26691,6 +26696,12 @@ interface NotificationEventMap { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Notification) */ interface Notification extends EventTarget { + /** + * The **`actions`** read-only property of the Notification interface provides the actions available for users to choose from for interacting with the notification. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Notification/actions) + */ + readonly actions: ReadonlyArray; /** * The **`body`** read-only property of the Notification interface indicates the body string of the notification, as specified in the body option of the Notification() constructor. * @@ -26768,6 +26779,12 @@ interface Notification extends EventTarget { declare var Notification: { prototype: Notification; new(title: string, options?: NotificationOptions): Notification; + /** + * The **`maxActions`** read-only static property of the Notification interface returns the maximum number of actions supported by the device and the User Agent. Effectively, this is the maximum number of elements in Notification.actions array which will be respected by the User Agent. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Notification/maxActions_static) + */ + readonly maxActions: number; /** * The **`permission`** read-only static property of the Notification interface indicates the current permission granted by the user for the current origin to display web notifications. * @@ -29965,9 +29982,13 @@ interface RTCPeerConnectionIceErrorEvent extends Event { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCPeerConnectionIceErrorEvent/address) */ readonly address: string | null; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCPeerConnectionIceErrorEvent/errorCode) */ readonly errorCode: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCPeerConnectionIceErrorEvent/errorText) */ readonly errorText: string; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCPeerConnectionIceErrorEvent/port) */ readonly port: number | null; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCPeerConnectionIceErrorEvent/url) */ readonly url: string; } diff --git a/baselines/ts5.5/serviceworker.generated.d.ts b/baselines/ts5.5/serviceworker.generated.d.ts index d041466e0..6ed01eb42 100644 --- a/baselines/ts5.5/serviceworker.generated.d.ts +++ b/baselines/ts5.5/serviceworker.generated.d.ts @@ -798,6 +798,11 @@ interface NavigationPreloadState { headerValue?: string; } +interface NotificationAction { + action: string; + title: string; +} + interface NotificationEventInit extends ExtendableEventInit { action?: string; notification: Notification; @@ -6946,6 +6951,12 @@ interface NotificationEventMap { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Notification) */ interface Notification extends EventTarget { + /** + * The **`actions`** read-only property of the Notification interface provides the actions available for users to choose from for interacting with the notification. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Notification/actions) + */ + readonly actions: ReadonlyArray; /** * The **`body`** read-only property of the Notification interface indicates the body string of the notification, as specified in the body option of the Notification() constructor. * @@ -7023,6 +7034,12 @@ interface Notification extends EventTarget { declare var Notification: { prototype: Notification; new(title: string, options?: NotificationOptions): Notification; + /** + * The **`maxActions`** read-only static property of the Notification interface returns the maximum number of actions supported by the device and the User Agent. Effectively, this is the maximum number of elements in Notification.actions array which will be respected by the User Agent. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Notification/maxActions_static) + */ + readonly maxActions: number; /** * The **`permission`** read-only static property of the Notification interface indicates the current permission granted by the user for the current origin to display web notifications. * diff --git a/baselines/ts5.5/sharedworker.generated.d.ts b/baselines/ts5.5/sharedworker.generated.d.ts index 18206e5e9..60c4f521c 100644 --- a/baselines/ts5.5/sharedworker.generated.d.ts +++ b/baselines/ts5.5/sharedworker.generated.d.ts @@ -742,6 +742,11 @@ interface NavigationPreloadState { headerValue?: string; } +interface NotificationAction { + action: string; + title: string; +} + interface NotificationOptions { badge?: string; body?: string; @@ -6629,6 +6634,12 @@ interface NotificationEventMap { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Notification) */ interface Notification extends EventTarget { + /** + * The **`actions`** read-only property of the Notification interface provides the actions available for users to choose from for interacting with the notification. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Notification/actions) + */ + readonly actions: ReadonlyArray; /** * The **`body`** read-only property of the Notification interface indicates the body string of the notification, as specified in the body option of the Notification() constructor. * @@ -6706,6 +6717,12 @@ interface Notification extends EventTarget { declare var Notification: { prototype: Notification; new(title: string, options?: NotificationOptions): Notification; + /** + * The **`maxActions`** read-only static property of the Notification interface returns the maximum number of actions supported by the device and the User Agent. Effectively, this is the maximum number of elements in Notification.actions array which will be respected by the User Agent. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Notification/maxActions_static) + */ + readonly maxActions: number; /** * The **`permission`** read-only static property of the Notification interface indicates the current permission granted by the user for the current origin to display web notifications. * diff --git a/baselines/ts5.5/webworker.generated.d.ts b/baselines/ts5.5/webworker.generated.d.ts index a1c62a51d..9a3bfad51 100644 --- a/baselines/ts5.5/webworker.generated.d.ts +++ b/baselines/ts5.5/webworker.generated.d.ts @@ -913,6 +913,11 @@ interface NavigationPreloadState { headerValue?: string; } +interface NotificationAction { + action: string; + title: string; +} + interface NotificationEventInit extends ExtendableEventInit { action?: string; notification: Notification; @@ -7848,6 +7853,12 @@ interface NotificationEventMap { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Notification) */ interface Notification extends EventTarget { + /** + * The **`actions`** read-only property of the Notification interface provides the actions available for users to choose from for interacting with the notification. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Notification/actions) + */ + readonly actions: ReadonlyArray; /** * The **`body`** read-only property of the Notification interface indicates the body string of the notification, as specified in the body option of the Notification() constructor. * @@ -7925,6 +7936,12 @@ interface Notification extends EventTarget { declare var Notification: { prototype: Notification; new(title: string, options?: NotificationOptions): Notification; + /** + * The **`maxActions`** read-only static property of the Notification interface returns the maximum number of actions supported by the device and the User Agent. Effectively, this is the maximum number of elements in Notification.actions array which will be respected by the User Agent. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Notification/maxActions_static) + */ + readonly maxActions: number; /** * The **`permission`** read-only static property of the Notification interface indicates the current permission granted by the user for the current origin to display web notifications. * diff --git a/baselines/ts5.6/dom.generated.d.ts b/baselines/ts5.6/dom.generated.d.ts index f62c5468e..d69628f24 100644 --- a/baselines/ts5.6/dom.generated.d.ts +++ b/baselines/ts5.6/dom.generated.d.ts @@ -1745,6 +1745,11 @@ interface NavigationUpdateCurrentEntryOptions { state: any; } +interface NotificationAction { + action: string; + title: string; +} + interface NotificationOptions { badge?: string; body?: string; @@ -26712,6 +26717,12 @@ interface NotificationEventMap { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Notification) */ interface Notification extends EventTarget { + /** + * The **`actions`** read-only property of the Notification interface provides the actions available for users to choose from for interacting with the notification. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Notification/actions) + */ + readonly actions: ReadonlyArray; /** * The **`body`** read-only property of the Notification interface indicates the body string of the notification, as specified in the body option of the Notification() constructor. * @@ -26789,6 +26800,12 @@ interface Notification extends EventTarget { declare var Notification: { prototype: Notification; new(title: string, options?: NotificationOptions): Notification; + /** + * The **`maxActions`** read-only static property of the Notification interface returns the maximum number of actions supported by the device and the User Agent. Effectively, this is the maximum number of elements in Notification.actions array which will be respected by the User Agent. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Notification/maxActions_static) + */ + readonly maxActions: number; /** * The **`permission`** read-only static property of the Notification interface indicates the current permission granted by the user for the current origin to display web notifications. * @@ -29986,9 +30003,13 @@ interface RTCPeerConnectionIceErrorEvent extends Event { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCPeerConnectionIceErrorEvent/address) */ readonly address: string | null; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCPeerConnectionIceErrorEvent/errorCode) */ readonly errorCode: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCPeerConnectionIceErrorEvent/errorText) */ readonly errorText: string; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCPeerConnectionIceErrorEvent/port) */ readonly port: number | null; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCPeerConnectionIceErrorEvent/url) */ readonly url: string; } diff --git a/baselines/ts5.6/serviceworker.generated.d.ts b/baselines/ts5.6/serviceworker.generated.d.ts index d041466e0..6ed01eb42 100644 --- a/baselines/ts5.6/serviceworker.generated.d.ts +++ b/baselines/ts5.6/serviceworker.generated.d.ts @@ -798,6 +798,11 @@ interface NavigationPreloadState { headerValue?: string; } +interface NotificationAction { + action: string; + title: string; +} + interface NotificationEventInit extends ExtendableEventInit { action?: string; notification: Notification; @@ -6946,6 +6951,12 @@ interface NotificationEventMap { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Notification) */ interface Notification extends EventTarget { + /** + * The **`actions`** read-only property of the Notification interface provides the actions available for users to choose from for interacting with the notification. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Notification/actions) + */ + readonly actions: ReadonlyArray; /** * The **`body`** read-only property of the Notification interface indicates the body string of the notification, as specified in the body option of the Notification() constructor. * @@ -7023,6 +7034,12 @@ interface Notification extends EventTarget { declare var Notification: { prototype: Notification; new(title: string, options?: NotificationOptions): Notification; + /** + * The **`maxActions`** read-only static property of the Notification interface returns the maximum number of actions supported by the device and the User Agent. Effectively, this is the maximum number of elements in Notification.actions array which will be respected by the User Agent. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Notification/maxActions_static) + */ + readonly maxActions: number; /** * The **`permission`** read-only static property of the Notification interface indicates the current permission granted by the user for the current origin to display web notifications. * diff --git a/baselines/ts5.6/sharedworker.generated.d.ts b/baselines/ts5.6/sharedworker.generated.d.ts index 18206e5e9..60c4f521c 100644 --- a/baselines/ts5.6/sharedworker.generated.d.ts +++ b/baselines/ts5.6/sharedworker.generated.d.ts @@ -742,6 +742,11 @@ interface NavigationPreloadState { headerValue?: string; } +interface NotificationAction { + action: string; + title: string; +} + interface NotificationOptions { badge?: string; body?: string; @@ -6629,6 +6634,12 @@ interface NotificationEventMap { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Notification) */ interface Notification extends EventTarget { + /** + * The **`actions`** read-only property of the Notification interface provides the actions available for users to choose from for interacting with the notification. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Notification/actions) + */ + readonly actions: ReadonlyArray; /** * The **`body`** read-only property of the Notification interface indicates the body string of the notification, as specified in the body option of the Notification() constructor. * @@ -6706,6 +6717,12 @@ interface Notification extends EventTarget { declare var Notification: { prototype: Notification; new(title: string, options?: NotificationOptions): Notification; + /** + * The **`maxActions`** read-only static property of the Notification interface returns the maximum number of actions supported by the device and the User Agent. Effectively, this is the maximum number of elements in Notification.actions array which will be respected by the User Agent. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Notification/maxActions_static) + */ + readonly maxActions: number; /** * The **`permission`** read-only static property of the Notification interface indicates the current permission granted by the user for the current origin to display web notifications. * diff --git a/baselines/ts5.6/webworker.generated.d.ts b/baselines/ts5.6/webworker.generated.d.ts index a1c62a51d..9a3bfad51 100644 --- a/baselines/ts5.6/webworker.generated.d.ts +++ b/baselines/ts5.6/webworker.generated.d.ts @@ -913,6 +913,11 @@ interface NavigationPreloadState { headerValue?: string; } +interface NotificationAction { + action: string; + title: string; +} + interface NotificationEventInit extends ExtendableEventInit { action?: string; notification: Notification; @@ -7848,6 +7853,12 @@ interface NotificationEventMap { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Notification) */ interface Notification extends EventTarget { + /** + * The **`actions`** read-only property of the Notification interface provides the actions available for users to choose from for interacting with the notification. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Notification/actions) + */ + readonly actions: ReadonlyArray; /** * The **`body`** read-only property of the Notification interface indicates the body string of the notification, as specified in the body option of the Notification() constructor. * @@ -7925,6 +7936,12 @@ interface Notification extends EventTarget { declare var Notification: { prototype: Notification; new(title: string, options?: NotificationOptions): Notification; + /** + * The **`maxActions`** read-only static property of the Notification interface returns the maximum number of actions supported by the device and the User Agent. Effectively, this is the maximum number of elements in Notification.actions array which will be respected by the User Agent. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Notification/maxActions_static) + */ + readonly maxActions: number; /** * The **`permission`** read-only static property of the Notification interface indicates the current permission granted by the user for the current origin to display web notifications. * diff --git a/baselines/ts5.9/dom.generated.d.ts b/baselines/ts5.9/dom.generated.d.ts index 769e447f2..32cc16e44 100644 --- a/baselines/ts5.9/dom.generated.d.ts +++ b/baselines/ts5.9/dom.generated.d.ts @@ -1745,6 +1745,11 @@ interface NavigationUpdateCurrentEntryOptions { state: any; } +interface NotificationAction { + action: string; + title: string; +} + interface NotificationOptions { badge?: string; body?: string; @@ -26712,6 +26717,12 @@ interface NotificationEventMap { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Notification) */ interface Notification extends EventTarget { + /** + * The **`actions`** read-only property of the Notification interface provides the actions available for users to choose from for interacting with the notification. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Notification/actions) + */ + readonly actions: ReadonlyArray; /** * The **`body`** read-only property of the Notification interface indicates the body string of the notification, as specified in the body option of the Notification() constructor. * @@ -26789,6 +26800,12 @@ interface Notification extends EventTarget { declare var Notification: { prototype: Notification; new(title: string, options?: NotificationOptions): Notification; + /** + * The **`maxActions`** read-only static property of the Notification interface returns the maximum number of actions supported by the device and the User Agent. Effectively, this is the maximum number of elements in Notification.actions array which will be respected by the User Agent. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Notification/maxActions_static) + */ + readonly maxActions: number; /** * The **`permission`** read-only static property of the Notification interface indicates the current permission granted by the user for the current origin to display web notifications. * @@ -29986,9 +30003,13 @@ interface RTCPeerConnectionIceErrorEvent extends Event { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCPeerConnectionIceErrorEvent/address) */ readonly address: string | null; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCPeerConnectionIceErrorEvent/errorCode) */ readonly errorCode: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCPeerConnectionIceErrorEvent/errorText) */ readonly errorText: string; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCPeerConnectionIceErrorEvent/port) */ readonly port: number | null; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCPeerConnectionIceErrorEvent/url) */ readonly url: string; } diff --git a/baselines/ts5.9/serviceworker.generated.d.ts b/baselines/ts5.9/serviceworker.generated.d.ts index 0479cb106..ae38cf5e6 100644 --- a/baselines/ts5.9/serviceworker.generated.d.ts +++ b/baselines/ts5.9/serviceworker.generated.d.ts @@ -798,6 +798,11 @@ interface NavigationPreloadState { headerValue?: string; } +interface NotificationAction { + action: string; + title: string; +} + interface NotificationEventInit extends ExtendableEventInit { action?: string; notification: Notification; @@ -6946,6 +6951,12 @@ interface NotificationEventMap { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Notification) */ interface Notification extends EventTarget { + /** + * The **`actions`** read-only property of the Notification interface provides the actions available for users to choose from for interacting with the notification. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Notification/actions) + */ + readonly actions: ReadonlyArray; /** * The **`body`** read-only property of the Notification interface indicates the body string of the notification, as specified in the body option of the Notification() constructor. * @@ -7023,6 +7034,12 @@ interface Notification extends EventTarget { declare var Notification: { prototype: Notification; new(title: string, options?: NotificationOptions): Notification; + /** + * The **`maxActions`** read-only static property of the Notification interface returns the maximum number of actions supported by the device and the User Agent. Effectively, this is the maximum number of elements in Notification.actions array which will be respected by the User Agent. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Notification/maxActions_static) + */ + readonly maxActions: number; /** * The **`permission`** read-only static property of the Notification interface indicates the current permission granted by the user for the current origin to display web notifications. * diff --git a/baselines/ts5.9/sharedworker.generated.d.ts b/baselines/ts5.9/sharedworker.generated.d.ts index 1fccac506..a3ab0ec41 100644 --- a/baselines/ts5.9/sharedworker.generated.d.ts +++ b/baselines/ts5.9/sharedworker.generated.d.ts @@ -742,6 +742,11 @@ interface NavigationPreloadState { headerValue?: string; } +interface NotificationAction { + action: string; + title: string; +} + interface NotificationOptions { badge?: string; body?: string; @@ -6629,6 +6634,12 @@ interface NotificationEventMap { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Notification) */ interface Notification extends EventTarget { + /** + * The **`actions`** read-only property of the Notification interface provides the actions available for users to choose from for interacting with the notification. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Notification/actions) + */ + readonly actions: ReadonlyArray; /** * The **`body`** read-only property of the Notification interface indicates the body string of the notification, as specified in the body option of the Notification() constructor. * @@ -6706,6 +6717,12 @@ interface Notification extends EventTarget { declare var Notification: { prototype: Notification; new(title: string, options?: NotificationOptions): Notification; + /** + * The **`maxActions`** read-only static property of the Notification interface returns the maximum number of actions supported by the device and the User Agent. Effectively, this is the maximum number of elements in Notification.actions array which will be respected by the User Agent. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Notification/maxActions_static) + */ + readonly maxActions: number; /** * The **`permission`** read-only static property of the Notification interface indicates the current permission granted by the user for the current origin to display web notifications. * diff --git a/baselines/ts5.9/webworker.generated.d.ts b/baselines/ts5.9/webworker.generated.d.ts index 262bc2fc1..4e9539ce3 100644 --- a/baselines/ts5.9/webworker.generated.d.ts +++ b/baselines/ts5.9/webworker.generated.d.ts @@ -913,6 +913,11 @@ interface NavigationPreloadState { headerValue?: string; } +interface NotificationAction { + action: string; + title: string; +} + interface NotificationEventInit extends ExtendableEventInit { action?: string; notification: Notification; @@ -7848,6 +7853,12 @@ interface NotificationEventMap { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Notification) */ interface Notification extends EventTarget { + /** + * The **`actions`** read-only property of the Notification interface provides the actions available for users to choose from for interacting with the notification. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Notification/actions) + */ + readonly actions: ReadonlyArray; /** * The **`body`** read-only property of the Notification interface indicates the body string of the notification, as specified in the body option of the Notification() constructor. * @@ -7925,6 +7936,12 @@ interface Notification extends EventTarget { declare var Notification: { prototype: Notification; new(title: string, options?: NotificationOptions): Notification; + /** + * The **`maxActions`** read-only static property of the Notification interface returns the maximum number of actions supported by the device and the User Agent. Effectively, this is the maximum number of elements in Notification.actions array which will be respected by the User Agent. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Notification/maxActions_static) + */ + readonly maxActions: number; /** * The **`permission`** read-only static property of the Notification interface indicates the current permission granted by the user for the current origin to display web notifications. * diff --git a/baselines/webworker.generated.d.ts b/baselines/webworker.generated.d.ts index 14da40561..33e4f40fa 100644 --- a/baselines/webworker.generated.d.ts +++ b/baselines/webworker.generated.d.ts @@ -916,6 +916,11 @@ interface NavigationPreloadState { headerValue?: string; } +interface NotificationAction { + action: string; + title: string; +} + interface NotificationEventInit extends ExtendableEventInit { action?: string; notification: Notification; @@ -7851,6 +7856,12 @@ interface NotificationEventMap { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Notification) */ interface Notification extends EventTarget { + /** + * The **`actions`** read-only property of the Notification interface provides the actions available for users to choose from for interacting with the notification. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Notification/actions) + */ + readonly actions: ReadonlyArray; /** * The **`body`** read-only property of the Notification interface indicates the body string of the notification, as specified in the body option of the Notification() constructor. * @@ -7928,6 +7939,12 @@ interface Notification extends EventTarget { declare var Notification: { prototype: Notification; new(title: string, options?: NotificationOptions): Notification; + /** + * The **`maxActions`** read-only static property of the Notification interface returns the maximum number of actions supported by the device and the User Agent. Effectively, this is the maximum number of elements in Notification.actions array which will be respected by the User Agent. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Notification/maxActions_static) + */ + readonly maxActions: number; /** * The **`permission`** read-only static property of the Notification interface indicates the current permission granted by the user for the current origin to display web notifications. * diff --git a/inputfiles/patches/notifications.kdl b/inputfiles/patches/notifications.kdl new file mode 100644 index 000000000..673cc56bb --- /dev/null +++ b/inputfiles/patches/notifications.kdl @@ -0,0 +1,8 @@ +// https://notifications.spec.whatwg.org/ + +removals { + dictionary NotificationAction { + member icon // Blink only as of 2026-06 + member navigate // WebKit only as of 2026-06 + } +} diff --git a/package-lock.json b/package-lock.json index e99a05833..4512e2303 100644 --- a/package-lock.json +++ b/package-lock.json @@ -313,9 +313,9 @@ } }, "node_modules/@mdn/browser-compat-data": { - "version": "7.3.15", - "resolved": "https://registry.npmjs.org/@mdn/browser-compat-data/-/browser-compat-data-7.3.15.tgz", - "integrity": "sha512-8YoG52J2ZsR+T4p0JsAuoWeztBgJsAtGY+LeGEAHvyJBojJzJtLb8o1fRsIbc0v6EHKRLIrCU3VoAIK1olntag==", + "version": "7.3.17", + "resolved": "https://registry.npmjs.org/@mdn/browser-compat-data/-/browser-compat-data-7.3.17.tgz", + "integrity": "sha512-ZtcyRH/psFX4njAEvY898TH/VYknOaeEe2KJdldak4eDsj4MufSY2sXtBJ2IKjZ3jAvLUBRVf8+bv8q2xDHVDg==", "dev": true, "license": "CC0-1.0" },