Re: [sensors] Use simple event dispatch mechanism instead of task source (queued)

OK, so after discussing this in #whatwg, it seems that whole Update Reading algorithm should happen in a new task, so we avoid updating the shared buffer in the middle of a script being processed, in which case, `gyro.x === gyro.x` wouldn't be guaranteed to always return `true`.

Once in this task, however, we could continue firing the events directly (as we now do).

-- 
GitHub Notification of comment by tobie
Please view or discuss this issue at https://github.com/w3c/sensors/issues/215#issuecomment-304278397 using your GitHub account

Received on Friday, 26 May 2017 13:09:47 UTC