Description[Sensors] Clamp given sampling frequency to the minimum supported one
The given frequency must be clamped to the minimum supported by the platform, as follows from https://github.com/w3c/sensors/issues/169
This CL only introduces generic code which provides the minimum supported frequency from platform layer to the Sensor JS bindings (layout tests are updated accordingly), platform-specific implementations are to be added in following patches.
BUG=606766
Review-Url: https://codereview.chromium.org/2704123006
Cr-Commit-Position: refs/heads/master@{#452827}
Committed: https://chromium.googlesource.com/chromium/src/+/883ba43fb0d728741ba56dbd8ec355b942abe1fe
Patch Set 1 #
Total comments: 8
Patch Set 2 : Comments from Reilly #Patch Set 3 : Build fix #Patch Set 4 : rebased #Messages
Total messages: 43 (33 generated)
|