Phabricator will be unavailable due to database maintenance from 14:00 UTC until 18:00 UTC on Saturday, October 13, 2018. Bugzilla will remain up during this time; however, due to an unrelated fix, all users will be logged out at the beginning of this maintenance window.

Push API in Extensions

UNCONFIRMED
Unassigned
(NeedInfo from)

Status

P3
enhancement
UNCONFIRMED
a year ago
16 days ago

People

(Reporter: joaomgcd, Unassigned, NeedInfo)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: [design-decision-needed] triaged investigate)

(Reporter)

Description

a year ago
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.50 Safari/537.36

Steps to reproduce:

Developed an extension and wanted to add support for receiving push messages in it using the Push API.


Actual results:

The Push API needs service workers which aren't supported in Extensions.


Expected results:

I should be able to receive push messages in Extensions.
Component: Untriaged → WebExtensions: General
Product: Firefox → Toolkit

Updated

a year ago
Priority: -- → P3
Whiteboard: [design-decision-needed]
Hi joamgcd, this has been added to the agenda for the July 25 WebExtensions APIs triage. Would you be able to join us? 

Wiki: https://wiki.mozilla.org/Add-ons/Contribute/Triage#Next_Meeting

Agenda: https://docs.google.com/document/d/1BBIZhiHG1zlQiu6744jiAYyWJLa-B0iRu9vzWypkvF4/edit#heading=h.lx9xov4c2jf0
(Reporter)

Comment 2

a year ago
Unfortunately I won't be available today at that time, but I'm happy to give some feedback if needed at a different time. Thanks in advance!
Flags: needinfo?(lgreco)

Comment 3

a year ago
We've discussed about this during the last week WebExtensions APIs triage, and we agreed that the first step is investigating the status of the ServiceWorker in a WebExtensions (e.g. how it should work), if allowing a ServiceWorker from inside a WebExtensions is not feasible, then we will evaluate how to expose the Push API to a WebExtension without the ServiceWorker (e.g. through a new WE API).

Marking this as investigate in the whiteboard (and needinfo assigned to me).
Flags: needinfo?(lgreco)
Whiteboard: [design-decision-needed] → [design-decision-needed] triaged investigate
seems removing ni? was not intentional.
Flags: needinfo?(lgreco)

Updated

7 months ago
Severity: normal → enhancement

Updated

4 months ago
Product: Toolkit → WebExtensions
You need to log in before you can comment on or make changes to this bug.