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

Issue 673648 link

Starred by 3 users

Issue metadata

Status: WontFix
Owner: ----
Closed: Jan 2017
Cc:
EstimatedDays: ----
NextAction: ----
OS: Linux
Pri: 2
Type: Bug



Sign in to add a comment

[Generic Sensor]Sensor is not present when includeGravity is false

Reported by canx....@intel.com, Dec 13 2016

Issue description

UserAgent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.99 Safari/537.36

Steps to reproduce the problem:
Test case:https://github.com/Honry/demo/blob/gh-pages/tests/sensors/Accelerometer.https.html
Test Name:Test that when construct Accelerometer with includeGravity that is set to false, the reading is different from the one with default Accelerometer.

Construct Accelerometer with includeGravity that is set to false.

What is the expected behavior?
Start and stop function should works fine.

What went wrong?
Sensor is not present on the platform.

Did this work before? N/A 

Does this work in other browsers? N/A

Chrome version: 57.0.2946.0  Channel: dev
OS Version: Ubuntu 16.04
Flash Version: Shockwave Flash 23.0 r0

This issue cannot reproduce on Android,Windows 8.1 and Windows 10
 
Labels: M-57

Comment 2 by ajha@chromium.org, Dec 14 2016

Cc: mikhail....@intel.com
Labels: TE-NeedsTriageHelp
Cc'ing  mikhail.pozdnyakov@ from  Issue 661478  for help in triaging this further.

Comment 3 by canx....@intel.com, Dec 20 2016

I'm so sorry.I double check this issue,
it also reproduced on on Windows 8.1 and Windows 10 platforms. 
Linear acceleration is not supported by Windows Sensor APIs, therefore, when sensor is constructed with includeGravity=false, Sensor.onerror will be invoked with 'NotFoundError'.
Status: WontFix (was: Unconfirmed)

Sign in to add a comment