This hasn't specced yet, but we should implement it after it is.
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?
(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.
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
Closed: 2 years ago
Resolution: --- → WONTFIX
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.