screen.orientation not always updated

UNCONFIRMED
Unassigned

Status

()

Core
DOM: Device Interfaces
P3
normal
UNCONFIRMED
a year ago
a year ago

People

(Reporter: Ying, Unassigned)

Tracking

50 Branch
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

a year ago
User Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.87 Safari/537.36

Steps to reproduce:

http://output.jsbin.com/yogojih
This link pulls and displays screen orientation angle at 500ms interval, and the test was performed on Nexus 6P running Android 7.1.1

I checked whether the orientation was updated correctly with respect to different rotations. 


Actual results:

https://goo.gl/photos/37T9TWB1CTkhf7Nk7
A video is worth a thousand word.
Primary portrait <-> Primary landscape   works
Primary portrait <-> Secondary landscape   works
Primary landscape <-> Secondary landscape   No event fired, and orientation is not updated. 


Expected results:

Rotating the phone from primary landscape to secondary landscape should trigger screen.orientation update.

Updated

a year ago
Component: Untriaged → DOM
Component: DOM → DOM: Device Interfaces
Priority: -- → P3
You need to log in before you can comment on or make changes to this bug.