Closed Bug 1242614 Opened 6 years ago Closed 6 years ago

subscribe() should reject with PermissionDeniedError if the user doesn't grant the permission

Categories

(Core :: DOM: Push Notifications, defect)

46 Branch
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 1236352

People

(Reporter: marco, Unassigned)

References

Details

Currently, the promise is never resolved if the user dismisses the prompt.
See Also: → 1241749
Marco, isn't that the point?  The answer of "did the user approve this" never got resolved.

if you set a timeout in PostionOptions -- that should probably do what you want.
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → WONTFIX
Looks like there's a long discussion in bug 675533 and another started in bug 1241749, since probably most people when they dismiss the prompt actually mean to decline the permission.
Resolution: WONTFIX → DUPLICATE
Duplicate of bug: 1236352
You need to log in before you can comment on or make changes to this bug.