Question: what about shared device
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 20/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Cần làm rõ
- Mức độ hoạt động
- Đình trệ
- Công nghệ
- html
- Lĩnh vực
- web-dev
Hướng nghiên cứu
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.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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
- Ngôn ngữ chính
- HTML
- Star
- 158
- Fork
- 43
- Merge trung bình
- 2 ngày 6 giờ
- Pull request đã merge (30 ngày)
- 2
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của w3c/push-api
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 35/100
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 30/100
-
Do we want to allow a subscription from window.pushManager to fire push event for non-DWP messages?Đang mở
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 18/100
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 12/100
Issue tương tự
-
P2 Team S Type: Bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
google/site-kit-wp#14138 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
home-assistant/frontend#55841 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug(semester-planning): the edit application dialog cannot save with an empty «Annet fra bedriften»Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Explore filter: multi-select value list with allowNewOptions stops accepting values and drops earlier onesCó thể đã có người làm @isaac-jaynes-imperva đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
apache/superset#46146 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 2 ngày
-
bug plugin/echarts/relations priority/P1
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 83/100
Maintainer thường phản hồi trong vòng 1 ngày