Re: [sensors] No way to express an abstract constructor in WebIDL

I spent a few minutes coming up with a neat object capabilities 
solution to this problem and then realized that we don't actually want
 to prevent this code. I think we thought we did originally, but now 
that we want to eventually be able to provide data sources that meet 
some criteria (eg. serial, ble, whatever) to `new Sensor({ src: ... 
})` (or something like that) and have it act like a built in 
sensor—throwing in the interim doesn't offer any benefit. 

Propose: 

- `new Sensor()` creates an instance that does nothing.


-- 
GitHub Notif of comment by rwaldron
See https://github.com/w3c/sensors/issues/19#issuecomment-103134780

Received on Monday, 18 May 2015 17:08:23 UTC