Open
Bug 1354573
Opened 7 years ago
Updated 2 years ago
requestPresent not allowed inside a callback function from user gesture
Categories
(Core :: WebVR, defect, P2)
Tracking
()
UNCONFIRMED
mozilla58
People
(Reporter: jongejan, Unassigned)
Details
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/56.0.2924.87 Safari/537.36 Steps to reproduce: Wrapping the requestPresent into a callback function or promise chain starting from a user action (clicking a button) wont allow the presentation to start. It has to be called directly from the function called from the button click, even though there is no delay added. In chrome this is allowed, since all callbacks called within a short amount of time are still considered user actions. Actual results: Presentation denied Expected results: It should have allowed presentation to start since I would still consider it a user action, just wrapped differently.
Comment 1•7 years ago
|
||
Thanks for reporting. Please note that we handle the VR-to-VR link traversal case more permissively than when requiring user gestures. We may need to do some further refinement here for the button click case here.
Priority: -- → P2
Target Milestone: --- → mozilla58
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•