[Ambient Light Sensor] The illuminance is always zero |
|||
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. Read illuminance value with below very simple code: > let s = new AmbientLightSensor(); > s.onchange = () => console.log(s.reading.illuminance); s.start(); 2. Change the ambient light illuminance of the device What is the expected behavior? The "s.reading.illuminance" changes with the ambient light illuminance of the device change. What went wrong? The value of "s.reading.illuminance" is always zero. This issue is only reproduced on Windows. 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: Shockwave Flash 24.0 r0
,
Nov 23 2016
@wanming.lin --Could you please provide any sample test case to reproduce the issue , that would help us in triaging the issue better. Thanks!
,
Nov 23 2016
@wanming.lin Is it possible to provide exact version of Windows and device? I've tested on Windows 7 Pro SP1, Windows 8 Pro, Windows 8.1 and Windows 10 (with fix from https://crrev.com/2495073002/) and ambient light sensor reports readings correctly.
,
Nov 25 2016
I tested on Window 8.1 Enterprise HP EliteBook, I will try more version of windows.
,
Nov 30 2016
@alexander.shalamov, I just filed another issue: https://bugs.chromium.org/p/chromium/issues/detail?id=669765 as I got different results on different devices and sensors. Let's close this one and track there.
,
Nov 30 2016
As per comment #6 , closing this issue . Please reopen if this is not the case. Thanks! |
|||
►
Sign in to add a comment |
|||
Comment 1 by manoranj...@chromium.org
, Nov 22 2016