Firing `pushsubscriptionchange` when permission is regranted

Aperta
#236 5 commenti 0 reazioni 0 assegnatari Vedi su GitHub

@antosart ci sta già lavorando.

Dal 22/4/2025.

  • #400 di @antosart — aperta

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
25/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
html
Ambito
api

Direzione di ricerca

Read the Push API specification language covering pushsubscriptionchange and permission changes, then review the linked pull request #400 for the proposed wording. The issue asks whether existing language can cover reinstating suspended subscriptions when notification permission returns; done means the specification accommodates that use case without prescribing specific circumstances.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

v2

Firefox currently fires pushsubscriptionchange when an origin gets permission regranted.

We are considering doing the same in a slightly different scenario; some operating systems enable users to disable entire applications (i.e. the browser) from showing notifications. Since we still tie push to notifications, it may not make sense to continue receiving messages in this scenario. When the user allows the application to show notifications again, suspended subscriptions should be able to be reinstated.

I don't think it's a good idea to specify the specific circumstances under which this can happen. Rather, we need to make sure that the language we have allows for these use-cases.

/cc @kitcambridge

Lingua principale
HTML
Stelle
158
Fork
43
Merge medio
2g 6h
PR unite (30g)
2

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di w3c/push-api

Tutte le issue di w3c/push-api

Issue simili

Altre issue su Backend & API Design

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.