Re: [sensors] Should sensor EventTarget be immediately available or should they be accessed through a promise?

**Proposed resolution:** The Generic Sensor API inherits from the 
[EventTarget](https://dom.spec.whatwg.org/#eventtarget) interface and 
cannot itself be constructed. Specific sensor objects will need to 
inherit from the Generic Sensor interface.**

There remains disagreement as to how these specific interfaces should 
be instantiated. Resolving that disagreement implies understanding the
 performance constraints, feature detection and discoverability 
issues(see #7), and the API design concerns (consistency, exposing 
primitives, etc.).

**Actions:**

- Research what information about sensors is available when navigating
 a new resource and what kind needs to be requested asynchronously.
- Eliminate API proposals that are blocking.
- Search for other areas of the platform with similar constraints and 
see what solutions were devised. Consider consistency.
- List common usage patterns (including production-level error 
handling) and compare the quality of the code produced using the 
different API proposals.

-- 
GitHub Notif of comment by tobie
See https://github.com/w3c/sensors/issues/9#issuecomment-100600790

Received on Sunday, 10 May 2015 08:21:24 UTC