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

Tighten the spec file rules with respect to custom Javascript. #1326

Merged
merged 1 commit into from
Jan 7, 2016
Merged

Tighten the spec file rules with respect to custom Javascript. #1326

merged 1 commit into from
Jan 7, 2016

Conversation

Gregable
Copy link
Member

@Gregable Gregable commented Jan 7, 2016

No description provided.

attrs: {
name: "src"
mandatory: true
# TODO(johannes): Should the location be restricted?
value_regex: "https://cdn\\.ampproject\\.org/v\\d+/[\\w\\.-]+\\.js|"
"https://ssl\\.gstatic\\.com/amphtml/v\\d+/[\\w\\.-]+\\.js|"
Copy link
Member

Choose a reason for hiding this comment

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

We can leave these out. Getting rid of them in the CSP as we speak.

Gregable added a commit that referenced this pull request Jan 7, 2016
Tighten the spec file rules with respect to custom Javascript.
@Gregable Gregable merged commit bcd327e into ampproject:master Jan 7, 2016
@Gregable
Copy link
Member Author

Gregable commented Jan 7, 2016

@cramforce, we'll revert that in a later pr. I'm just trying to catch up our validator changes over the last couple weeks at the moment.

@Gregable Gregable deleted the customjavascript branch June 20, 2016 23:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants