- From: Tobie Langel via GitHub <sysbot+gh@w3.org>
- Date: Mon, 08 Jun 2015 17:02:40 +0000
- To: public-device-apis@w3.org
Chatted with @marcoscaceres over irc. Seems the solution would involve
the adjunction of partial enums to WebIDL so that extending the
Permissions API to accommodate a new sensor would be limited to doing:
```
partial enum PermissionName {
"proximity"
};
```
And when needed:
```
dictionary ProximitySensorPermissionDescriptor : PermissionDescriptor
{
// ...
};
```
--
GitHub Notif of comment by tobie
See https://github.com/w3c/sensors/issues/22#issuecomment-110073878
Received on Monday, 8 June 2015 17:02:43 UTC