mattrobenolt / mattrobenolt/sourcemap-validator

Can't use Data URLs for source map?

Open
#12 0 comments 0 reactions 0 assignees View on GitHub

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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.