Skip to content
This repository has been archived by the owner on Oct 23, 2019. It is now read-only.

Source maps in Firefox #49

Open
markfinger opened this issue Feb 20, 2016 · 3 comments
Open

Source maps in Firefox #49

markfinger opened this issue Feb 20, 2016 · 3 comments

Comments

@markfinger
Copy link
Owner

FF doesn't seem as robust as chrome when it comes to source maps. Currently it either throws errors when reading source maps, or simply shows a blank screen.

It appears that FF might need the original assets to be served as well.

Should be able to add another record map for the original state of textual assets. The file endpoint should check this as the last stage before 404'ing.

@markfinger
Copy link
Owner Author

In good news, latest FF doesn't die on sourcemaps anymore. Instead it just links to the original.

In bad news, source maps still don't work.

@markfinger
Copy link
Owner Author

This is a bit of a strange situation. The FF debugger is populated with the original content of the files, but it doesn't seem to actually map errors/logs/etc from the generated file to the original content.

I tried a few test cases involving manually tweaking the data in the source map, rewriting paths to file://, using purely relative urls, inlining the source maps, manually creating files that matched the names of the original content ... nothing seemed to have any effect.

No idea at this point.

@markfinger
Copy link
Owner Author

Things are somewhat less broken than they used to be, so I'm going to ignore this.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant