Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make Permissions.request() only take a single descriptor.
This matches the current Chromium implementation (https://code.google.com/p/chromium/codesearch/#chromium/src/third_party/WebKit/Source/modules/permissions/Permissions.idl), which has a requestAll() function to handle a sequence of permissions. A sequence could also be handled with Promise.all(), like query() suggests.
- Loading branch information