Closed Bug 1193376 Opened 9 years ago Closed 7 years ago

Implement Permissions.request

Categories

(Core :: DOM: Core & HTML, defect)

defect
Not set
normal

Tracking

()

RESOLVED WONTFIX

People

(Reporter: poiru, Unassigned)

References

()

Details

(Keywords: dev-doc-needed)

This hasn't specced yet, but we should implement it after it is.
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)
(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)
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: 7 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.