DescriptionAllow passing sourceMapUrl when compiling scripts
According to Source Map specification [1] source map url can be passed either as a magic comment at the end of script or as SourceMap http header. We already parse the former value and expose it on Script object. This change allows to unify the way we deal with source map urls received in http header by providing api for passing that url into the script being compiled.
source_map_url is intentionally not passed into CompilationCacheScript::Lookup. The cache is anyways disabled when debugger is on.
[1] https://docs.google.com/document/d/1U1RGAehQwRypUTovF1KRlpiOFze0b-_2gc6fAH0KY0k/edit
LOG=Y
BUG=chromium:462572
Committed: https://crrev.com/e33ae81ce1c13f80533d6c997fd39ab7d6609dfc
Cr-Commit-Position: refs/heads/master@{#27017}
Patch Set 1 #Patch Set 2 : Rebased #
Messages
Total messages: 14 (6 generated)
|