Re: [sensors] Garbage collection behavior unclear in Generic Sensor spec

Thanks for your implementation feedback, excited to hear Moddable implements the Generic Sensor API.

I think the test for "Deactivate a sensor object" is correct. @rakuco and @Honry to confirm.

It is correct that the abstract operation invoked when a `Sensor` object is eligible for garbage collection does not set the state to `idle`. Only and abstract operations do.

You should consider the normative specification text authoritative over the diagrams. A possible clarification to the diagram would perhaps be to replace "onerror" with "notify error".

I'll let others to chime in.

GitHub Notification of comment by anssiko
Please view or discuss this issue at using your GitHub account

Received on Wednesday, 19 September 2018 08:16:06 UTC