Firing `pushsubscriptionchange` when permission is regranted

Abierto
#236 5 comentarios 0 reacciones 0 asignados Ver en GitHub

@antosart ya está trabajando en esto.

Desde el 22/4/2025.

  • #400 de @antosart — abierto

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
25/100
Tipo de issue
Nueva funcionalidad
Claridad
Bastante claro
Estado de actividad
Estancado
Stack tecnológico
html
Área
api

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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

Lenguaje dominante
HTML
Estrellas
158
Forks
43
Merge medio
2 d 6 h
PR fusionados (30 d)
2

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de w3c/push-api

Todos los issues de w3c/push-api

Issues similares

Más issues de Backend & API Design

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.