ampproject / ampproject/worker-dom
[FEATURE REQUEST] Implement Document.readyState
Open
- Dominant language
- TypeScript
- Stars
- 3.3k
- Forks
- 154
- PR merge metrics
- No merged PRs in 30d
Description
https://developer.mozilla.org/en-US/docs/Web/API/Document/readyState
We should be at least returning `interactive` conservatively. `complete` seems a bit ambitious since the resources for that main thread operation may not have loaded.
Contributor guide
Research direction
Start with the Document API and the linked MDN Document.readyState reference. Confirm how the project should conservatively expose interactive rather than complete, and consider the work done when Document.readyState reports the agreed value consistently.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100