Implement Permissions.request

RESOLVED WONTFIX

Status

()

RESOLVED WONTFIX
3 years ago
a year ago

People

(Reporter: poiru, Unassigned)

Tracking

({dev-doc-needed})

Firefox Tracking Flags

(Not tracked)

Details

(URL)

(Reporter)

Description

3 years ago
This hasn't specced yet, but we should implement it after it is.
(Reporter)

Updated

3 years ago
Keywords: leave-open
FWIW, Blink has started implementation of request():
https://groups.google.com/a/chromium.org/d/msg/blink-dev/lg_7OMRhMMA/dxcShOW2_lcJ

The specification of request() for one permission should be straightforward so I think you shouldn't be blocked on that (this is already working in Chromium behind a flag). However, multiple permission request is slightly more complicated.
Birunthan, do you know if anyone is looking at that?
Flags: needinfo?(birunthan)
(Reporter)

Comment 3

3 years ago
(In reply to [:fabrice] Fabrice Desré from comment #2)
> Birunthan, do you know if anyone is looking at that?

I don't think anyone is working on this.
Flags: needinfo?(birunthan)

Comment 4

a year ago
See https://github.com/w3c/permissions/issues/83 for the discussion that led to dropping this. It seems this might still be pursued as https://github.com/jyasskin/permissions-request, but given all the reasons Mozillians had against this API it's unclear whether that'll gain cross-browser agreement (and if it does can be tracked in a new bug).
Status: NEW → RESOLVED
Last Resolved: a year ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.