New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 667763 link

Starred by 1 user

Issue metadata

Status: WontFix
Owner: ----
Closed: Nov 2016
Cc:
EstimatedDays: ----
NextAction: ----
OS: Windows
Pri: 2
Type: Bug



Sign in to add a comment

[Ambient Light Sensor] The illuminance is always zero

Project Member Reported by wanming....@intel.com, Nov 22 2016

Issue description

UserAgent: 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
 
Labels: M-57

Comment 2 by hdodda@chromium.org, Nov 23 2016

Cc: hdodda@chromium.org
Labels: Needs-Feedback
@wanming.lin --Could you please provide any sample test case to reproduce the issue , that would help us in triaging the issue better.

Thanks!
@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.

Comment 4 Deleted

I tested on Window 8.1 Enterprise HP EliteBook, I will try more version of windows.
@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.

Comment 7 by hdodda@chromium.org, Nov 30 2016

Status: WontFix (was: Unconfirmed)
As per comment #6 ,  closing this issue . Please reopen if this is not the case.

Thanks!

Sign in to add a comment