Re: [w3c/permissions] Requesting permissions needs to be able to ask for multiple things (#92)

@mounirlamouri so I take it you're in favor of requestAll, then?
Perhaps the request<sequence<sequence<PermissionDescriptor>>>, perhaps we should call that one requestOneFromEachSetOfAlternatives? Then request() and requestAll() can be defined in terms of this?
(request(foo) is the same as requestOneFromEachSetOfAlternatives([[foo]]), requestAll([foo, bar]) is the smae as requestOneFromEachSetOfAlternatives([[foo], [bar]])?

I don't care so much what the JS API is as long as the underlying "request access" mechanism allows the full flexibility.

---
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/permissions/issues/92#issuecomment-215379193

Received on Thursday, 28 April 2016 10:23:51 UTC