[
https://issues.apache.org/jira/browse/CB-13115?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Alexander Sorokin closed CB-13115.
----------------------------------
Resolution: Fixed
> accelerometer.getCurrentAcceleration() doesn't work on Firefox, Safari and
> Edge
> -------------------------------------------------------------------------------
>
> Key: CB-13115
> URL: https://issues.apache.org/jira/browse/CB-13115
> Project: Apache Cordova
> Issue Type: Bug
> Components: cordova-plugin-device-motion
> Reporter: Alexander Sorokin
> Assignee: Alexander Sorokin
>
> https://travis-ci.org/apache/cordova-plugin-device-motion/builds/257642867?utm_source=github_status&utm_medium=notification
> Here's some related test failures:
> {noformat}
> 1) cordova-plugin-device-motion-tests.tests >> Accelerometer
> (navigator.accelerometer) getCurrentAcceleration accelerometer.spec.3 success
> callback should be called with an Acceleration object
> - Error: Timeout - Async callback was not invoked within timeout specified
> by jasmine.DEFAULT_TIMEOUT_INTERVAL. in
> http://localhost:8000/cdvtests/jasmine-2.4.1/jasmine.js (line 1909)
> 2) cordova-plugin-device-motion-tests.tests >> Accelerometer
> (navigator.accelerometer) getCurrentAcceleration accelerometer.spec.4 success
> callback Acceleration object should have (reasonable) values for x, y and z
> expressed in m/s^2
> - Error: Timeout - Async callback was not invoked within timeout specified
> by jasmine.DEFAULT_TIMEOUT_INTERVAL. in
> http://localhost:8000/cdvtests/jasmine-2.4.1/jasmine.js (line 1909)
> 3) cordova-plugin-device-motion-tests.tests >> Accelerometer
> (navigator.accelerometer) getCurrentAcceleration accelerometer.spec.5 success
> callback Acceleration object should return a recent timestamp
> - Error: Timeout - Async callback was not invoked within timeout specified
> by jasmine.DEFAULT_TIMEOUT_INTERVAL. in
> http://localhost:8000/cdvtests/jasmine-2.4.1/jasmine.js (line 1909)
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]