Issue metadata
Sign in to add a comment
|
deviceorientation event does not fire
Reported by
cristian...@gmail.com,
Nov 13 2017
|
||||||||||||||||||||||||
Issue descriptionChrome Version : Android/Chrome Dev 64.0.03261.0 URLs (if applicable) : http://jsfiddle.net/missinglink/pr2cej97/ Other browsers tested: Android/Chrome 62.0.3202.84 (Stable): OK Android/Chrome 63.0.3239.41 (Beta): OK What steps will reproduce the problem? (1) Create webpage that registers to receive `deviceorientation` events: `window.addEventListener("deviceorientation", ...` or (1) Visit http://jsfiddle.net/missinglink/pr2cej97/ then: (2) Access the website from a mobile Android device. What is the expected result? The event callback function should be invoked (on mobile Android devices) periodically as the device is moved. What happens instead? In the currently latest Android Chrome Dev build (64.0.03261.0), the callback is not invoked. The current Stable and Beta version work as expected.
,
Nov 14 2017
Tested the issue in Android and could not reproduce the issue. Steps Followed: 1. Launched Browser 2. Navigated to http://jsfiddle.net/missinglink/pr2cej97/ 3. Event callback was fired on both Portrait and Landscape orientation Chrome versions tested: 64.0.3267.2 OS Android 8.1.0, 7.0.0, 5.0.0 Android Devices 8.1.0 Pixel XL Build/OPM1.171019.007, 7.0.0; SM-J710F Build/NRD90M, 5.0.0:; Micromax A106 BuildLRX21M @cristian: Could you please let us know the OS and details of your device, if possible attach a screencast for further triaging of the issue. Thanks!!
,
Nov 14 2017
It appears the event is fired exactly once in v64.0.03261.0, and then stops firing. It should continue firing repeatedly on a mobile device, as in earlier Chrome versions. When the event fires repeatedly, the rendered "arrow" in the reference website should be moving continuously. Is it doing that when using v64.0.3267.2?
,
Nov 14 2017
Thank you for providing more feedback. Adding requester "sandeepkumars@chromium.org" to the cc list and removing "Needs-Feedback" label. For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
,
Nov 15 2017
,
Nov 15 2017
,
Nov 15 2017
Tested the issue using #64.0.3267.2 and #64.0.3268.2 on Android 8.0.0, Pixel Build/OPR6.170623.023 and can observe the arrow is moving continuously. @cristian: Could you try this on #64.0.3268.2 and check if you still see this issue? if so attach a screencast, that would help us in better triaging of the issue. Thanks!!
,
Nov 15 2017
I can reproduce the issue on the current master branch. It is the same issue as https://bugs.chromium.org/p/chromium/issues/detail?id=783586 Since the CL: https://chromium-review.googlesource.com/c/chromium/src/+/767549 that can fix the above issue also fixes this issue. So merge this issue to 783586.
,
Nov 16 2017
Glad to hear the issue can be reproduced. Also, in case it helps, here is a link to a screencast (captured on a Pixel Phone running Android 8.1.0) that shows the event working as expected in: 62.0.3202.84 63.0.3239.41 but not working in: 64.0.3261.0 64.0.3268.2 SCREENCAST: https://photos.app.goo.gl/8VvTV9w045spy6y32 |
|||||||||||||||||||||||||
►
Sign in to add a comment |
|||||||||||||||||||||||||
Comment 1 by ligim...@chromium.org
, Nov 14 2017