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: Push Subscriptions, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 1236352
People
(Reporter: marco, Unassigned)
References
Details
Currently, the promise is never resolved if the user dismisses the prompt.
Comment 1•9 years ago
|
||
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
Reporter | ||
Comment 2•9 years ago
|
||
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.
Description
•