Skip to content

Validator roll up#25224

Merged
honeybadgerdontcare merged 2 commits intoampproject:masterfrom
honeybadgerdontcare:val-error-category-stub
Oct 23, 2019
Merged

Validator roll up#25224
honeybadgerdontcare merged 2 commits intoampproject:masterfrom
honeybadgerdontcare:val-error-category-stub

Conversation

@honeybadgerdontcare
Copy link
Copy Markdown
Contributor

Add a stub for error category, fixes #25188

  • cl/276319310 Restore a stub of amp.validator.categorizeError in javascript.
  • cl/275942712 Fix validator issue with error'ing tags satisfying unique requirements.

@Gregable Gregable mentioned this pull request Oct 23, 2019
@honeybadgerdontcare honeybadgerdontcare merged commit a5b64c5 into ampproject:master Oct 23, 2019
@honeybadgerdontcare honeybadgerdontcare deleted the val-error-category-stub branch October 23, 2019 19:39
@Timer
Copy link
Copy Markdown

Timer commented Oct 23, 2019

Was the previous behavior to always return UNKNOWN? I'm not sure the purpose of this function but it seems like it should be ERROR/WARN.

@Gregable
Copy link
Copy Markdown
Member

@Timer I believe I addressed your question in my last comment on #25188, but if you have followups let me know.

micajuine-ho pushed a commit to micajuine-ho/amphtml that referenced this pull request Dec 27, 2019
* cl/275942712 Fix validator issue with error'ing tags satisfying unique requirements.

* cl/276319310 Restore a stub of amp.validator.categorizeError in javascript.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

amphtml-validator returns this.sandbox.amp.validator.categorizeError is not a function

4 participants