New issue
Advanced search Search tips

Issue 796622 link

Starred by 1 user

Issue metadata

Status: WontFix
Owner: ----
Closed: Apr 2018
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 3
Type: Bug



Sign in to add a comment

PresentationRequest.start() rejects with user gesture requirement in click handler

Project Member Reported by mfo...@chromium.org, Dec 20 2017

Issue description

Google_Samus.6300.174.0
Chrome 64.0.3282.24

Steps to reproduce:
(1) Inject the bootstrap script into docs.google.com with an extension
(2) Load any Slides presentation
(2) Bootstrap script loads second script (slides_script.js) into the document 
(4) Wait 10s and click on "Presenter View" to trigger click handler

Expected result:
MR dialog appears to offer device selection

Actual result:
- start() is rejected with "start() requires user gesture"
- Script works if --disable-gesture-requirement-for-presentation is passed

This is in a click handler, it's not clear how the user gesture token is getting lost here, whether it is idiosyncratic to docs.google.com or if it is a bug.

Could try a narrower repro case with an html file.


 
slides_bootstrap.js
171 bytes View Download
slides_script.js
713 bytes View Download
Status: WontFix (was: Untriaged)
This was for a demo - not clear if it's easily reproducible.

Sign in to add a comment