New issue
Advanced search Search tips

Issue 880798 link

Starred by 1 user

Issue metadata

Status: Available
Owner: ----
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Bug



Sign in to add a comment

sensors: Spurious "deviceorientation" event in devtools test after reloading page

Project Member Reported by raphael....@intel.com, Sep 5

Issue description

This was originally discussed in https://chromium-review.googlesource.com/c/chromium/src/+/1160161. reillyg@ at one point asked if it was possible to change third_party/WebKit/LayoutTests/http/tests/devtools/device-orientation-success.js to catch a "deviceorientation" event after reloading the page to assert the values passed to setDeviceOrientationOverride() were being used.

Registering a listener, however, causes "deviceorientation" events to be delivered with alpha, beta and gamma set to null. We need to find out what's causing the actual values to be lost.
 

Sign in to add a comment