W3C home > Mailing lists > Public > public-device-apis-log@w3.org > May 2017

Re: [sensors] The Handle Errors abstract operation must deactivate the activated Sensor object

From: Mikhail Pozdnyakov via GitHub <sysbot+gh@w3.org>
Date: Mon, 22 May 2017 13:38:24 +0000
To: public-device-apis-log@w3.org
Message-ID: <issue_comment.created-303102498-1495460302-sysbot+gh@w3.org>
Please correct me if I'm wrong. I was thinking of the Error Handling operation as a common handler that must be invoked for any error (incl. errors in `activated` state). Otherwise, what is the error handling path for example for a platform-side error occurred in `activated` state?
Wouldn't it be more convenient if Error Handling operation performed Sensor object deactivation, so that deactivation steps do not have to be repeated on caller side every time Error Handling operation is invoked?


-- 
GitHub Notification of comment by pozdnyakov
Please view or discuss this issue at https://github.com/w3c/sensors/issues/202#issuecomment-303102498 using your GitHub account
Received on Monday, 22 May 2017 13:38:30 UTC

This archive was generated by hypermail 2.3.1 : Monday, 23 October 2017 12:18:53 UTC