From f5574c9f7e33c3e735bc6c8464a1c2f90b61ca5e Mon Sep 17 00:00:00 2001 From: Hamish Willee Date: Fri, 23 May 2025 16:14:40 +1000 Subject: [PATCH 1/3] FF140 Relnote: Notification.maxActions unpublished to nightly --- files/en-us/mozilla/firefox/releases/140/index.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/files/en-us/mozilla/firefox/releases/140/index.md b/files/en-us/mozilla/firefox/releases/140/index.md index 0fb4f27a3a05b80..53e504e9b12cebb 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) static property returns the maximum number of actions that can be associated with a `Notification`, as set using {{domxref("ServiceWorkerRegistration.showNotification()")}}. + This was prematurely released 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}} From 1e1cdeb016b0d12630ca2001ab7f386a0c04beea Mon Sep 17 00:00:00 2001 From: Hamish Willee Date: Mon, 26 May 2025 10:27:49 +1000 Subject: [PATCH 2/3] Update files/en-us/mozilla/firefox/releases/140/index.md Co-authored-by: Dipika Bhattacharya --- files/en-us/mozilla/firefox/releases/140/index.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/files/en-us/mozilla/firefox/releases/140/index.md b/files/en-us/mozilla/firefox/releases/140/index.md index 53e504e9b12cebb..a5fce94cba0e08b 100644 --- a/files/en-us/mozilla/firefox/releases/140/index.md +++ b/files/en-us/mozilla/firefox/releases/140/index.md @@ -69,8 +69,8 @@ These features are shipping in Firefox 140 but are disabled by default. To exper - **`Notification.maxActions`** (Nightly): `dom.webnotifications.actions.enabled` - The [`Notification.maxActions`](/en-US/docs/Web/API/Notification/maxActions_static) static property returns the maximum number of actions that can be associated with a `Notification`, as set using {{domxref("ServiceWorkerRegistration.showNotification()")}}. - This was prematurely released in Firefox version 138, and this change makes it available only in the Nightly build ([Firefox bug 1963263](https://bugzil.la/1963263)). + 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 From a2b0957c7d53be92b9cb9d92ecfdaaed89764bd3 Mon Sep 17 00:00:00 2001 From: Hamish Willee Date: Mon, 26 May 2025 10:36:30 +1000 Subject: [PATCH 3/3] Update actions and maxActions in Notifications --- .../en-us/mozilla/firefox/experimental_features/index.md | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) 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 +
Nightly 138Yes (desktop only)
Developer Edition