diff --git a/files/en-us/mozilla/firefox/experimental_features/index.md b/files/en-us/mozilla/firefox/experimental_features/index.md index e90dbe0031bd5aa..54402bc67804209 100644 --- a/files/en-us/mozilla/firefox/experimental_features/index.md +++ b/files/en-us/mozilla/firefox/experimental_features/index.md @@ -1263,11 +1263,11 @@ The non-standard events [`beforescriptexecute`](/en-US/docs/Web/API/Document/bef -### Notification.actions +### Notification actions and maxActions properties -The {{domxref("Notification.actions","actions")}} read-only property of the {{domxref("Notification")}} interface is supported in Nightly. -This contains notification actions set with {{domxref("ServiceWorkerRegistration.showNotification()")}}. -([Firefox bug 1225110](https://bugzil.la/1225110)). +The {{domxref("Notification/actions","actions")}} read-only property and the [`maxActions`](/en-US/docs/Web/API/Notification/maxActions_static) static read-only property of the {{domxref("Notification")}} interface are supported in Nightly on desktop. +These contain the notification actions set with {{domxref("ServiceWorkerRegistration.showNotification()")}}, and the maximum number of actions that can be set, respectively. +([Firefox bug 1225110](https://bugzil.la/1225110), [Firefox bug 1963263](https://bugzil.la/1963263)). @@ -1281,6 +1281,7 @@ This contains notification actions set with {{domxref("ServiceWorkerRegistration + diff --git a/files/en-us/mozilla/firefox/releases/140/index.md b/files/en-us/mozilla/firefox/releases/140/index.md index 0fb4f27a3a05b80..a5fce94cba0e08b 100644 --- a/files/en-us/mozilla/firefox/releases/140/index.md +++ b/files/en-us/mozilla/firefox/releases/140/index.md @@ -67,6 +67,11 @@ This article provides information about the changes in Firefox 140 that affect d These features are shipping in Firefox 140 but are disabled by default. To experiment with them, search for the appropriate preference on the `about:config` page and set it to `true`. You can find more such features on the [Experimental features](/en-US/docs/Mozilla/Firefox/Experimental_features) page. +- **`Notification.maxActions`** (Nightly): `dom.webnotifications.actions.enabled` + + The [`Notification.maxActions`](/en-US/docs/Web/API/Notification/maxActions_static) read-only static property returns the browser limit on the number of actions that can be associated with a `Notification`, which you create using {{domxref("ServiceWorkerRegistration.showNotification()")}}. + This was released prematurely in Firefox version 138, and this change makes it available only in the Nightly build. ([Firefox bug 1963263](https://bugzil.la/1963263)). + ## Older versions {{Firefox_for_developers}}
Nightly 138Yes (desktop only)
Developer Edition