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

Re: [deviceorientation] requestPermission() and event handling clarification (#74)

From: Reilly Grant via GitHub <sysbot+gh@w3.org>
Date: Mon, 08 Apr 2019 20:17:57 +0000
To: public-device-apis-log@w3.org
Message-ID: <issue_comment.created-480990933-1554754676-sysbot+gh@w3.org>
Thanks for the clarifications. This behavior seems good to me. My only concern was that waiting to fire events would cause pages to get stuck waiting for confirmation that sensors are or are not available. On the other hand firing an empty event would would raise the question of whether we should fire another one after the page calls `requestPermission()` on a device without sensors.

@rakuco, let's follow WebKit's lead and implement it this way in Blink and report back if we find any interesting corner cases. This behavior should also be specced eventually.

-- 
GitHub Notification of comment by reillyeon
Please view or discuss this issue at https://github.com/w3c/deviceorientation/issues/74#issuecomment-480990933 using your GitHub account
Received on Monday, 8 April 2019 20:17:58 UTC

This archive was generated by hypermail 2.3.1 : Monday, 8 April 2019 20:17:59 UTC