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

Validator rollup #7590

Merged
merged 30 commits into from
Feb 16, 2017
Merged

Validator rollup #7590

merged 30 commits into from
Feb 16, 2017

Conversation

honeybadgerdontcare
Copy link
Contributor

@honeybadgerdontcare honeybadgerdontcare commented Feb 16, 2017

  • <meta http-equiv=> tags must have <head> as ancestor.
  • Small javascript performance optimizations.
  • Remove the unused errors_seen flag.
  • Use requires/satisfies mechanism instead of also_requires_tag.
  • Refactoring: Make getAttrsFor simpler and less forgiving (spec now re…
  • Bugfix: Use hasOwnProperty to check whether the key is in the map.
  • No need to copy over TagSpec.requires.
  • Share empty arrays for the specification objects where possible.
  • Allow form elements outside of form tags.
  • Update amp-access-laterpay.
  • Add string intern table and use it for simple attrs. The ids for inte…
  • Validate that amp-install-serviceworker[data-iframe-src] is an https …
  • Restrict AMP4ADS extensions.
  • Allow empty src attribute for amp-pixel.
  • Restrict AMP4ADS extensions (part two).
  • Rely on the global class attr (w/ blacklist) instead of a locally def…
  • html_format unnecessary for both AMP and AMP4ADS extensions.
  • Elminate SimpleParsedAttrSpec class and use attr ids directly for sim…
  • Add additional SVG 2.0 elements.
  • Add SVG filters to AMP Validator rules.
  • revision bump for amp-call-tracking
  • Use indexOf instead of startsWith for old Node.js version compat.
  • Allow empty config attribute for amp-analytics.
  • Refactoring: Move the parseAttrsFor method into the constructor of Pa… …
  • Remove autoplay attribute from <amp-anim> tag in validator. This … …
  • Change amp-audio[autoplay] from an enum to a boolean attribute. The s… …
  • In generated JS, use ids to identify attr lists (instead of attr list… …
  • Remove the tagSpecId field from the TagSpec class.
  • Replace requires and satisfied fields with interned strings.

…rned strings are negative integers, allowing us to effectively mix them in with ids for complex messages (AttrSpec in this case).
…attribute does nothing, and is not mentioned in the spec.
…pec indicates that it's an enum, but the code just passes this through to the audio tag it creates, which treats this as true/false
@honeybadgerdontcare honeybadgerdontcare merged commit e5855d2 into ampproject:master Feb 16, 2017
@honeybadgerdontcare honeybadgerdontcare deleted the validator_rollup branch February 16, 2017 00:48
mrjoro pushed a commit to mrjoro/amphtml that referenced this pull request Apr 28, 2017
* `<meta http-equiv=>` tags must have `<head>` as ancestor.

* Small javascript performance optimizations.

* Remove the unused errors_seen flag.

* Use requires/satisfies mechanism instead of also_requires_tag.

* Refactoring: Make getAttrsFor simpler and less forgiving (spec now req. $GLOBAL_ATTRS / $AMP_LAYOUT_ATTRS)

* Bugfix: Use hasOwnProperty to check whether the key is in the map.

* No need to copy over TagSpec.requires.

* Share empty arrays for the specification objects where possible.

* Allow form elements outside of form tags.

* Update amp-access-laterpay.

* Add string intern table and use it for simple attrs. The ids for interned strings are negative integers, allowing us to effectively mix them in with ids for complex messages (AttrSpec in this case).

* Validate that amp-install-serviceworker[data-iframe-src] is an https URL (if present).

* Restrict AMP4ADS extensions.

* Allow empty `src` attribute for `amp-pixel`.

* Restrict AMP4ADS extensions (part two).

* Rely on the global class attr (w/ blacklist) instead of a locally defined one.

* html_format unnecessary for both AMP and AMP4ADS extensions.

* Elminate SimpleParsedAttrSpec class and use attr ids directly for simple attrs.

* Add additional SVG 2.0 elements.

* Add SVG filters to AMP Validator rules.

* revision bump for amp-call-tracking

* Use indexOf instead of startsWith for old Node.js version compat.

* Allow empty `config` attribute for `amp-analytics`.

* Refactoring: Move the parseAttrsFor method into the constructor of ParsedTagSpec.

* Remove `autoplay` attribute from `<amp-anim>` tag in validator. This attribute does nothing, and is not mentioned in the spec.

* Change amp-audio[autoplay] from an enum to a boolean attribute. The spec indicates that it's an enum, but the code just passes this through to the audio tag it creates, which treats this as true/false

* In generated JS, use ids to identify attr lists (instead of attr lists names).

* Remove the tagSpecId field from the TagSpec class.

* Replace requires and satisfied fields with interned strings.

* Update amp-bind validation rules

From PR 7127
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.

None yet

2 participants