[Generic Sensor] The sensor state changes to "activated" in latest ED spec |
|||
Issue descriptionUserAgent: Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/57.0.2926.0 Safari/537.36 Steps to reproduce the problem: 1. Execute very simple code as below in the Console: > let s = new AmbientLightSensor(); > s.onactivate = () => console.log(s.state); s.start(); What is the expected behavior? the sensor state is "activated" What went wrong? The sensor state changes from "active" to "activated" in latest ED spec. https://w3c.github.io/sensors/#state Did this work before? N/A Does this work in other browsers? N/A Chrome version: 57.0.2926.0 Channel: canary OS Version: 6.3 Flash Version:
,
Nov 22 2016
,
Nov 25 2016
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/12710441dec88821cea09b9ec3bd76802bf3bfdf commit 12710441dec88821cea09b9ec3bd76802bf3bfdf Author: mikhail.pozdnyakov <mikhail.pozdnyakov@intel.com> Date: Fri Nov 25 08:33:23 2016 [Sensors] The sensor state changes from "active" to "activated" The sensor state changes from "active" to "activated" in the latest ED specification [1]. [1] https://w3c.github.io/sensors/#state BUG= 667728 Review-Url: https://codereview.chromium.org/2524953002 Cr-Commit-Position: refs/heads/master@{#434454} [modify] https://crrev.com/12710441dec88821cea09b9ec3bd76802bf3bfdf/third_party/WebKit/LayoutTests/sensor/resources/generic-sensor-tests.js [modify] https://crrev.com/12710441dec88821cea09b9ec3bd76802bf3bfdf/third_party/WebKit/Source/modules/sensor/Sensor.cpp [modify] https://crrev.com/12710441dec88821cea09b9ec3bd76802bf3bfdf/third_party/WebKit/Source/modules/sensor/Sensor.h
,
Nov 25 2016
,
Dec 5 2016
This issue is still exist in Linux, the latest Chromium version is 56.0.2924.10(Dev channel). Reopen this bug,please help to fix it. Thanks
,
Dec 5 2016
@mikhail.pozdnyakov
,
Dec 13 2016
QA verified this issue on Linux with the latest Chromium version (57.0.2946.0). This issue has been fixed. Thanks. |
|||
►
Sign in to add a comment |
|||
Comment 1 by manoranj...@chromium.org
, Nov 22 2016