mattrobenolt / mattrobenolt/sourcemap-validator
Can't use Data URLs for source map?
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 50
- Forks
- 6
- PR merge metrics
- No merged PRs in 30d
Description
When I try to validate http://mini.carlberg.org/dev/SourceMapTest.js I get an error:
Unable to fetch data:application/json;charset=utf-8;base64,eyJ2ZX...
SourceMap declaration found, but could not load the file.
Try it here: https://sourcemaps.io/validate?url=http%3A%2F%2Fmini.carlberg.org%2Fdev%2FSourceMapTest.js
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the failure using the linked sourcemaps.io validation URL and the example SourceMapTest.js URL. Trace the validator's handling of the data:application/json source map declaration. Done means the validator can load and validate this embedded source map instead of reporting that it could not load the file.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- backend, devtools
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100