sensors
sensors copied to clipboard
Expose sensors to workers
Expose sensors to workers for perf reasons (avoid blocking main thread).
Actions:
- [ ] Figure out the permissioning story.
Certain use cases require sensors to have background access. Using a more complex {{PermissionDescriptor}}. (e.g. with a boolean
allowBackgroundUsage = false; [=dictionary member=]), might be the solution to relax this restriction.
- [ ] Amend IDL
Splitting that issue up into workers here and service workers in #106.
We need to figure out the permission story here too.
That's definitely a thing that begs for a clear display. I.e. UA must clearly show when a sensor is being accessed.