- From: Chris Dumez via GitHub <sysbot+gh@w3.org>
- Date: Thu, 13 Dec 2018 21:15:14 +0000
- To: public-geolocation@w3.org
I think relying on a Permissions API from another spec would probably work (although, I'd have to see what it looks like first). That said, it would be bit confusing to use Permissions API from another (newer) API and predicate using the (older) API on it. How about for the 'devicemotion' events, would it be a `LinearAccelerationSensor.requestPermission()` ? Honestly, the fact that the names do not match would be super-confusing IMO. I get that the DeviceOrientation API does not have a global scope object at the moment but it seems like it could have one. Or I actually like the idea of adding static requestPermission() methods to the existing DeviceOrientationEvent / DeviceMotionEvent interfaces. -- GitHub Notification of comment by cdumez Please view or discuss this issue at https://github.com/w3c/deviceorientation/issues/57#issuecomment-447123108 using your GitHub account
Received on Thursday, 13 December 2018 21:15:16 UTC