ampproject / ampproject/worker-dom
fetch should not require absolute URLs
Open
- Dominant language
- TypeScript
- Stars
- 3.3k
- Forks
- 154
- PR merge metrics
- No merged PRs in 30d
Description
Currently, `fetch(/test.json')` will fail with in exception that the host cannot be determined.
Contributor guide
Research direction
Start by reproducing the fetch('/test.json') case and trace the fetch entry point to where the host-cannot-be-determined exception is raised. Inspect the existing fetch-related tests, if present, and verify that a relative URL no longer fails because it lacks an absolute host.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- web-dev
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100