W3C home > Mailing lists > Public > public-device-apis-log@w3.org > May 2017

[sensors] Clarify relationship between Sensor object and task source

From: Alexander Shalamov via GitHub <sysbot+gh@w3.org>
Date: Sat, 27 May 2017 11:13:54 +0000
To: public-device-apis-log@w3.org
Message-ID: <issues.opened-231794773-1495883632-sysbot+gh@w3.org>
alexshalamov has just created a new issue for https://github.com/w3c/sensors:

== Clarify relationship between Sensor object and task source ==
At the moment, spec defines:

> Each Sensor object has a task source called a sensor task source, initially empty.

This sounds like 1:1 relationship, could we rephrase it so that it would be clear that sensor task source is for all sensor objects within browsing context? In chromium we use single sensor task source for all objects, other APIs that use task sources follow same pattern.
 
Maybe define sensor task source as:
The task source for all tasks queued by Sensor objects is the sensor task source.


Please view or discuss this issue at https://github.com/w3c/sensors/issues/216 using your GitHub account
Received on Saturday, 27 May 2017 11:14:01 UTC

This archive was generated by hypermail 2.3.1 : Monday, 23 October 2017 12:18:53 UTC