Do we want to allow a subscription from window.pushManager to fire push event for non-DWP messages?

Đang mở
#423 6 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức phù hợp với người mới
18/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Lĩnh vực
web-dev

Hướng nghiên cứu

This is a spec design question, not a code change. Read the declarative push message parser and its fallback to the push event in the specification, then the six-comment thread the maintainers (@ltenmoz, @annevk) have already started. Done means a recorded decision on whether window.pushManager.subscribe() should ignore malformed non-declarative messages, not a patch.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

Currently the declarative message parser allows falling back to push event whenever the push message doesn't fit the declarative format, but do we really want to allow that for window.pushManager.subscribe()? My impression as a caller is that this should be strictly about declarative push, and any malformed message should be ignored.

Thoughts? @ltenmoz @annevk

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

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. 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.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của w3c/push-api

Tất cả issue của w3c/push-api

Issue tương tự

Thêm issue về Web Dev

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.