Question: what about shared device
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 20/100
- Tipo de issue
- Nueva funcionalidad
- Claridad
- Necesita aclaración
- Estado de actividad
- Estancado
- Stack tecnológico
- html
- Área
- web-dev
Línea de trabajo
Start by reading the Push API specification around service workers and subscription ownership. The issue describes notifications crossing between users who share a browser, but does not identify a file, test, or expected behavior. First clarify how subscriptions should be isolated across accounts and what should happen on logout or session expiration; done would require an agreed behavior and tests for those cases.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
As i understood, endpoint is done against browser. So what happens if 2 users use same browser ?
- user1 subscribe to notifications; then log out
- user2 use the same device (let say a desktop) and same browser and subscribe to notifications
- user2 will receive user1 notifications !
- coming back user1 will receive user2 notifications...
I know a solution could be to unregister service worker on user1 logout, but what about session expiration and / or not logged out user (just close pwa) ? And i imagine unregister sw could have related miss configuration (no more notification ?)
I'm not sure to be clear, but did someone have this situation to take care ?
Thanks
- Lenguaje dominante
- HTML
- Estrellas
- 158
- Forks
- 43
- Merge medio
- 2 d 6 h
- PR fusionados (30 d)
- 2
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de w3c/push-api
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
-
Dificultad 5/5 Más de una semana Aptitud para principiantes 35/100
-
Dificultad 4/5 3-5 días Aptitud para principiantes 30/100
-
Do we want to allow a subscription from window.pushManager to fire push event for non-DWP messages?Abierto
Dificultad 5/5 Más de una semana Aptitud para principiantes 18/100
-
Dificultad 5/5 Más de una semana Aptitud para principiantes 12/100
Todos los issues de w3c/push-api
Issues similares
-
P2 Team S Type: Bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
google/site-kit-wp#14138 ·
Los mantenedores suelen responder en 2 días
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
home-assistant/frontend#55841 ·
Los mantenedores suelen responder en 1 día
-
bug(semester-planning): the edit application dialog cannot save with an empty «Annet fra bedriften»Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Los mantenedores suelen responder en 1 día
-
Explore filter: multi-select value list with allowNewOptions stops accepting values and drops earlier onesPosiblemente ocupada @isaac-jaynes-imperva la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
apache/superset#46146 · 1 comentario ·
Los mantenedores suelen responder en 2 días
-
bug plugin/echarts/relations priority/P1
Dificultad 2/5 1-3 horas Aptitud para principiantes 83/100
Los mantenedores suelen responder en 1 día