Closed Bug 1242614 Opened 6 years ago Closed 6 years ago
subscribe() should reject with Permission
Denied Error if the user doesn't grant the permission
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: 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.