W3C home > Mailing lists > Public > public-device-apis-log@w3.org > March 2019

Re: [deviceorientation] Add API for requesting permission to receive device motion / orientation events (#57)

From: Chris Dumez via GitHub <sysbot+gh@w3.org>
Date: Wed, 13 Mar 2019 21:54:01 +0000
To: public-device-apis-log@w3.org
Message-ID: <issue_comment.created-472621133-1552514040-sysbot+gh@w3.org>
@nbutko In WebKit at least, I have currently implemented it as a single prompt, permissions are merged on native side. Web pages should still request permission for both types of events if they need both (the second promise will be resolved without prompting in WebKit). I am personally not sure the spec needs clarification in this respect, it is up to browsers to decide how they want to do prompting. 

GitHub Notification of comment by cdumez
Please view or discuss this issue at https://github.com/w3c/deviceorientation/issues/57#issuecomment-472621133 using your GitHub account
Received on Wednesday, 13 March 2019 21:54:04 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 13 March 2019 21:54:04 UTC