Web Inspector: support inline source maps.
* support optional map.sourcesContent array with sources content
* support data: url as script sourceMapURL, e.g. "//@ sourceMappingURL=data:application/json;base64,<base64-encoded map>"
Created attachment 132091 [details]
A better option would be to use data: urls for sources as well, to avoid changing source map format.
(In reply to comment #2)
> A better option would be to use data: urls for sources as well, to avoid changing source map format.
It turns out there is no nice way to provide names for sources loaded from data: urls. Using sourceURL comment would require loading and searching all the sources which is not acceptable for large maps.
map.sourcesContent seems to be the best option.
Committed r111389: <http://trac.webkit.org/changeset/111389>