Re: [sensors] Support scripting complex sets of mock sensor readings

A potential problem with having JS generate sensor readings is where that script will execute. To not make assumptions about where the sensor readings are being inserted, it may be necessary to isolate that script similar to how worklets are defined: https://drafts.css-houdini.org/worklets/#worklet

https://webaudio.github.io/web-audio-api/#audioworklet is a bit similar to what might be needed, although that's a web-exposed API.

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

Received on Thursday, 23 August 2018 11:42:43 UTC