Open Bug 1253772 Opened 9 years ago Updated 1 year ago

Prevent sites from requesting or querying the permission if Push is disabled

Categories

(Core :: DOM: Push Subscriptions, task, P3)

task

Tracking

()

People

(Reporter: lina, Unassigned)

References

(Blocks 1 open bug)

Details

(Whiteboard: btpp-backlog, dom-lws-bugdash-triage)

:MattN and :nalexander pointed out that we shouldn't show a doorhanger if the site asks for the `push` permission, but `dom.push.enabled` is false. Even though they're backed by the same "desktop-notification" permission, we shouldn't let sites ask permission for disabled DOM APIs.
Whiteboard: btpp-backlog
Priority: -- → P3
Blocks: 1497427
Severity: normal → S3
Type: defect → task
Whiteboard: btpp-backlog → btpp-backlog, dom-lws-bugdash-triage
You need to log in before you can comment on or make changes to this bug.