New issue
Advanced search Search tips
Starred by 1 user

Issue metadata

Status: Fixed
Closed: Aug 2017
EstimatedDays: ----
NextAction: ----
OS: Android , All
Pri: 1
Type: Feature

Sign in to add a comment

Issue 756564: VR: Add user gesture to displayactivate events.

Reported by, Aug 17 2017 Project Member

Issue description


Summary: displayactivate is only triggerable by user action, with the intent to interact with the page, and so should have a gesture token associated with it. This allows media playback for WebVR pages that only receive the displayactivate event without the user tapping/clicking on the page.

Comment 1 by, Aug 22 2017

Project Member
The following revision refers to this bug:

commit 09b107130f5c7a4cb377322b879ac2aac67cadbf
Author: Michael Thiessen <>
Date: Tue Aug 22 04:58:14 2017

VR: Add gesture token to vrdisplayactivate, remove cardboard compat hack

This CL adds a gesture token to the displayactivate event which can only
be triggered by user action (on Android, placing the phone in a VR
headset and completing controller pairing while on a WebVR site).

This CL also removes the cardboard click event used for compatibility
and supplying user gesture, as a gesture is now supplied with the
displayactivate event.

Note: Once this lands, action will be required on the part of WebVR
Origin Trial participants that were previously relying on the cardboard
compat click events to act as user gestures - they will have to
perform any gesture-requiring actions in the displayactivate handler.

Bug:  716571 ,  756564 
Change-Id: I541c8e181fadaf58710da57b6e9f5e8971451073
Commit-Queue: Michael Thiessen <>
Reviewed-by: Brandon Jones <>
Cr-Commit-Position: refs/heads/master@{#496219}

Comment 2 by, Aug 28 2017

Status: Fixed (was: Started)

Comment 3 by, Sep 5 2017

Michael, is this something that I can verify manually? It sounds like I can, but I'm not sure what the details would be. Thanks.

Comment 4 by, Sep 5 2017

We would need a test page that tries to play video during the vrdisplayactivate event. We should fix the video test page on to do this.

Comment 5 by, Jul 4 2018

Components: Blink>WebXR

Sign in to add a comment