Description[Sensors] Stop throwing InvalidStateError exceptions
The updated Generic Sensor specification [1] does not contain instructions for throwing 'InvalidStateError' exceptions from start() and stop() methods.
This allows for example to call stop() method on already stopped sensor object (such call will be simply ignored).
BUG=606766
[1] https://w3c.github.io/sensors/
Review-Url: https://codereview.chromium.org/2674703002
Cr-Commit-Position: refs/heads/master@{#447802}
Committed: https://chromium.googlesource.com/chromium/src/+/f5e04ad29b1ef9e8bf180191ef57120163faa0a1
Patch Set 1 #
Messages
Total messages: 14 (9 generated)
|