Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support referrerpolicy on amp-iframe #3973

Merged
merged 6 commits into from Jul 11, 2016

Conversation

aghassemi
Copy link
Contributor

@aghassemi aghassemi commented Jul 8, 2016

Closes #3950

@cramforce
Copy link
Member

LGTM :)

@aghassemi
Copy link
Contributor Author

@cramforce Added validator changes. Can you please PTAL and merge?
/cc @Gregable

@@ -53,6 +53,7 @@ tags: { # <amp-iframe>
attrs: { name: "allowfullscreen" value: "" }
attrs: { name: "allowtransparency" value: "" }
attrs: { name: "frameborder" value_regex: "0|1" }
attrs: { name: "referrerpolicy" value_regex: "no-referrer|origin|unsafe-url" }
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There are more possible values. I think we can allow all strings, though.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

@cramforce cramforce merged commit 4a794f7 into ampproject:master Jul 11, 2016
@aghassemi aghassemi deleted the iframereferrerpolicy branch July 11, 2016 23:04
ariangibson pushed a commit to Mixpo/amphtml that referenced this pull request Sep 7, 2016
Support `referrerpolicy` on `amp-iframe`
Closes ampproject#3950
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants