amphtml icon indicating copy to clipboard operation
amphtml copied to clipboard

amp-iframe allow="vr"

Open mikeduarte opened this issue 9 years ago • 5 comments

What's the issue?

amp validator complains about allow="vr"

The attribute 'allow' in tag 'amp-iframe' is set to the invalid value 'vr'

How do we reproduce the issue?

  1. Add allow="vr" to an amp-iframe

What browsers are affected?

Chrome 62+

Which AMP version is affected?

1510956201635

mikeduarte avatar Dec 04 '17 19:12 mikeduarte

Is allow="vr" a new web standard? can you kindly point me to the official proposal/doc?

lannka avatar Dec 04 '17 21:12 lannka

@honeybadgerdontcare do you recall why do we validate the allow attribute for amp-iframe. I don't see pass down this allow attribute to the child iframe.

lannka avatar Dec 04 '17 22:12 lannka

@lannka See #11953 regarding allow.

honeybadgerdontcare avatar Dec 04 '17 22:12 honeybadgerdontcare

@lannka https://developers.google.com/web/updates/2017/09/webvr-origin-trial-chrome-62 and https://support.matterport.com/hc/en-us/community/posts/115008279147-Updates-to-WebVR-New-iFrame-Attribute-allow-vr

Thanks!

mikeduarte avatar Dec 04 '17 23:12 mikeduarte

@honeybadgerdontcare thanks for the pointer. that's the PR can unblock this

lannka avatar Dec 04 '17 23:12 lannka