ampproject / ampproject/amp.dev
Add documentation on using script amp-onerror
Open
Status: Pending Triage
Type: Feature
- Dominant language
- HTML
- Stars
- 600
- Forks
- 675
- PR merge metrics
- No merged PRs in 30d
Description
## 🚀 Feature Request
Add documentation for ``.
### Problem
The validator will shortly allow `<script amp-onerror>document.querySelector("script[src*='/v0.js']").onerror=function(){document.querySelector('style[amp-boilerplate]').textContent=''}` and we do not have any documentation for it.
See [ampproject/amphtml #22543](https://github.com/ampproject/amphtml/issues/22543#issuecomment-673603872) for background.
Contributor guide
Assessment
This issue has not been assessed yet.