Skip to content

amp-iframe support of allow-same-origin #562

Closed
@justforfun

Description

It seems that the support of allow-same-origin atttribute is not working
sandbox="allow-scripts allow-same-origin allow-popups allow-popups-to-escape-sandbox"

This is the error displayed
Origin of must not be equal to container
when on this page
https://justforfun.github.io/examples-amp/article.amp.html
this code is used
<amp-iframe width="300" height="300" sandbox="allow-same-origin allow-popups" layout="responsive" frameborder="0" src="https://justforfun.github.io/examples-amp/video-iframe.html" class="-amp-element -amp-layout-responsive -amp-layout-size-defined -amp-error -amp-layout" id="AMP_7"><i-amp-sizer style="display: block; padding-top: 100%;"></i-amp-sizer> </amp-iframe>

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions