Closed
Bug 1592610
Opened 6 years ago
Closed 6 years ago
Superfluous DispatchVRDisplayInfoUpdate call when a session is restored in Android
Categories
(Core :: WebVR, defect)
Tracking
()
RESOLVED
FIXED
mozilla72
| Tracking | Status | |
|---|---|---|
| firefox72 | --- | fixed |
People
(Reporter: mortimergoro, Assigned: mortimergoro)
Details
Attachments
(1 file)
We have another WebVR restore issue in Firefox Reality Standalone. In the previous restore issue, JavaScript got 0 displays in navigator.getVRDisplays(). Right now there is a race condition where JavaScript gets 1 display but with canPresent capability flag disabled.
The problem is that when the Android app goes to background VRManager state is not reset to VRManagerState::Idle and stays with a VRManagerState::Active after restored, which can trigger a cached display update which has been already cleaned in FxR onDestroy.
| Assignee | ||
Updated•6 years ago
|
Summary: Superfluous DispatchVRDisplayInfoUpdate when a session is restored in Android → Superfluous DispatchVRDisplayInfoUpdate call when a session is restored in Android
| Assignee | ||
Updated•6 years ago
|
Assignee: nobody → imanol
| Assignee | ||
Comment 1•6 years ago
|
||
Set Idle state in VRManager when the app goes to background on Android.
Pushed by igorostizaga@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/5a900d3343e0
Set Idle state in VRManager when the app goes to background on Android. r=kip,rbarker
Comment 3•6 years ago
|
||
| bugherder | ||
Status: NEW → RESOLVED
Closed: 6 years ago
status-firefox72:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla72
Comment 4•6 years ago
|
||
| bugherder landing | ||
You need to log in
before you can comment on or make changes to this bug.
Description
•