Re: [ambient-light] What illuminance value should be reported for stopped sensor?

@pozdnyakov third list item says the following (emphasis mine):

> Ensure that your attribute’s getter returns the same object each 
time it is called, *until some occurrence in another part of the 
system causes a logical "reset" of the property’s value.* In 
particular, obj.attribute === obj.attribute must always hold, and so 
returning a new value from the getter each time is not allowed.

This describes pretty much exactly the wanted behavior, where the 
'logical "reset"' corresponds to a new sensor reading.


-- 
GitHub Notification of comment by tobie
Please view or discuss this issue at 
https://github.com/w3c/ambient-light/issues/15#issuecomment-257544350 
using your GitHub account

Received on Tuesday, 1 November 2016 11:28:53 UTC