Push API in Extensions (PushManager.subscribe), gated on "notifications" permission
Categories
(WebExtensions :: General, enhancement, P3)
Tracking
(Not tracked)
People
(Reporter: joaomgcd, Unassigned)
References
(Depends on 1 open bug)
Details
(Whiteboard: [design-decision-needed] triaged investigate [wecg])
Updated•9 years ago
|
Updated•9 years ago
|
Comment 1•9 years ago
|
||
Updated•9 years ago
|
Comment 3•9 years ago
|
||
Updated•8 years ago
|
Updated•8 years ago
|
| Comment hidden (advocacy) |
| Comment hidden (advocacy) |
| Comment hidden (advocacy) |
| Comment hidden (advocacy) |
Comment 10•7 years ago
|
||
Hello Folks,
I'd like to give you an update about this issue. While I can't offer a concrete timeline for support, I do believe there is value in providing push notifications support in WebExtensions. The mechanism to do so would indeed be service workers, I'd like to avoid specific WebExtension APIs that have an equivalent Web API.
There are a few dependencies to making that happen that I don't yet have a bug number for, I will add dependencies when the time comes.
In the meanwhile, I'm restricting comments since this bug has attracted various advocacy comments. I'd like to reserve this bug for technical discussions on making this happen. You are welcome to discuss the merits on https://discourse.mozilla.org/c/add-ons/development if necessary.
Comment 11•7 years ago
|
||
Added Bug 1573659 ([meta] Background Service Worker for Manifest v3) as a blocker for this issue.
Updated•4 years ago
|
Updated•4 years ago
|
Comment 12•2 months ago
|
||
FWIW, Chrome 121+ has support for the push API with the "notifications" permission, allowing it to be used without showing a notification.
For more info, see:
- https://github.com/w3c/webextensions/issues/208#issuecomment-1804184054
- https://developer.chrome.com/docs/extensions/how-to/integrate/web-push
In Firefox it is not possible to have service workers in extensions yet, so the functionality cannot be used yet.
Not really a new issue, but I am also linking bug 1993805 for relevance: notifications do not clearly show which extension is triggering a notification.
Description
•