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

amp-mustache: Revert user error in purifier #20501

Merged
merged 1 commit into from Jan 24, 2019

Conversation

dreamofabear
Copy link

@dreamofabear dreamofabear commented Jan 24, 2019

Fixes #20474. Reverts #20285 and #20407 (except for some documentation and unrelated test code changes).

Notes for the future:

  • High-volume logging in a tight loop can cause performance issues on device. Likely due to error reporting code -- warn() may be preferable.
  • DOMPurify's removed array also contains innocuous entries, e.g. custom <remove> node and comment nodes.
  • New console errors should be slowly rolled out via experiment.

@dreamofabear dreamofabear merged commit a0bcbbd into ampproject:master Jan 24, 2019
@dreamofabear dreamofabear deleted the revert-mustache-error branch January 24, 2019 16:34
gmajoulet pushed a commit that referenced this pull request Jan 24, 2019
gmajoulet pushed a commit that referenced this pull request Jan 24, 2019
noranazmy pushed a commit to noranazmy/amphtml that referenced this pull request Mar 22, 2019
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.

None yet

3 participants