Closed Bug 1242614 Opened 9 years ago Closed 9 years ago

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

Categories

(Core :: DOM: 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.
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: 9 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
You need to log in before you can comment on or make changes to this bug.