Mention or enforce userVisibleOnly check in PushManager.subscribe?

Đang mở
#339 2 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ó
2/5
Thời gian dự kiến
1-3 giờ
Mức phù hợp với người mới
25/100
Loại issue
Tài liệu
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
html
Lĩnh vực
documentation

Hướng nghiên cứu

Start with the PushManager.subscribe algorithm and the PushSubscriptionOptions userVisibleOnly definition in the specification. Check how the specification describes omitted or false values against the reported Chrome and Firefox behavior. Done means the specification clearly states this constraint or guideline; the issue does not identify specific files or tests.

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

Mô tả

bug editorial

After some testing, it seems that both Chrome and Firefox are disallowing calling PushManager.subscribe with https://w3c.github.io/push-api/#dom-pushsubscriptionoptions-uservisibleonly not present or set to false.
It would be good to indicate this possibility in the specification, for instance as a guideline, or directly within the subscribe algorithm directly.

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ề Documentation

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.