Skip to content

Conversation

russelldavis
Copy link

The old code made it relative to the original source URL, which may not
be in the same location.

The old code made it relative to the original source URL, which may not
be in the same location.
@dcramer
Copy link
Member

dcramer commented Dec 3, 2013

@mattrobenolt do you know much about the spec in this area? Just want to confirm that this wont cause any issues

@mattrobenolt
Copy link
Contributor

The spec doesn't say anything at all about it, but it makes sense to me.

https://docs.google.com/document/d/1U1RGAehQwRypUTovF1KRlpiOFze0b-_2gc6fAH0KY0k/edit#heading=h.lmz475t4mvbx

dcramer added a commit that referenced this pull request Dec 3, 2013
Mapped source URLs should be relative to the sourcemap.
@dcramer dcramer merged commit a4b4282 into getsentry:master Dec 3, 2013
@russelldavis
Copy link
Author

Thanks. @mattrobenolt, the spec actually does mention it:

If the sources are not absolute URLs after prepending of the “sourceRoot”, the sources are resolved relative to the SourceMap (like resolving script src in a html document).

@mattrobenolt
Copy link
Contributor

:( Reading is hard, apparently.

@mattrobenolt
Copy link
Contributor

@russelldavis Thanks for the attention to detail! 👍

@github-actions github-actions bot locked and limited conversation to collaborators Dec 24, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants