Skip to content

FF140 Relnote: Notification.maxActions unpublished to nightly #39640

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
9 changes: 5 additions & 4 deletions files/en-us/mozilla/firefox/experimental_features/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -1263,11 +1263,11 @@ The non-standard events [`beforescriptexecute`](/en-US/docs/Web/API/Document/bef
</tbody>
</table>

### 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)).

<table>
<thead>
Expand All @@ -1281,6 +1281,7 @@ This contains notification actions set with {{domxref("ServiceWorkerRegistration
<tr>
<th>Nightly</th>
<td>138</td>
<td>Yes (desktop only)</td>
</tr>
<tr>
<th>Developer Edition</th>
Expand Down
5 changes: 5 additions & 0 deletions files/en-us/mozilla/firefox/releases/140/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -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}}