- From: Anssi Kostiainen via GitHub <sysbot+gh@w3.org>
- Date: Wed, 30 Aug 2017 13:14:38 +0000
- To: public-device-apis-log@w3.org
OK, so `Error` refers to `Sensor.onerror` (as indicated by its link!), and not throwing an `Error`. That's why I was confused. I suggest we rename all instances of `Error` in the diagram to `onerror` to fix this confusion. Related to `activated -> idle` transition, I noticed [revoke sensor permission] invokes [notify error], while some other runtime errors @pozdnyakov listed above might not. Not sure if these errors (e.g. sensor hub detached, platform side error) should be observable from the script side as well, and invoke [notify error] similarly. Feel free to spin this into its own issue if my interpretation is correct. [revoke sensor permission]: https://w3c.github.io/sensors/#revoke-sensor-permission [notify error]: https://w3c.github.io/sensors/#notify-error -- GitHub Notification of comment by anssiko Please view or discuss this issue at https://github.com/w3c/sensors/issues/261#issuecomment-325986175 using your GitHub account
Received on Wednesday, 30 August 2017 13:14:34 UTC