Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(578)

Issue 983603003: Allow passing sourceMapUrl when compiling scripts (Closed)

Created:
5 years, 9 months ago by yurys
Modified:
5 years, 9 months ago
Reviewers:
kozy, yangguo, pfeldman, Yang
CC:
v8-dev, Paweł Hajdan Jr.
Base URL:
https://chromium.googlesource.com/v8/v8.git@master
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

Allow 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 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+73 lines, -44 lines) Patch
M include/v8.h View 1 6 chunks +11 lines, -2 lines 0 comments Download
M src/api.cc View 1 6 chunks +31 lines, -23 lines 0 comments Download
M src/bootstrapper.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M src/compiler.h View 1 chunk +3 lines, -2 lines 0 comments Download
M src/compiler.cc View 2 chunks +5 lines, -2 lines 0 comments Download
M src/debug.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M test/cctest/compiler/test-linkage.cc View 1 chunk +1 line, -1 line 0 comments Download
M test/cctest/test-api.cc View 5 chunks +13 lines, -5 lines 0 comments Download
M test/cctest/test-compiler.cc View 1 chunk +1 line, -1 line 0 comments Download
M test/cctest/test-serialize.cc View 1 chunk +4 lines, -4 lines 0 comments Download

Messages

Total messages: 14 (6 generated)
yurys
Yang, please take a look.
5 years, 9 months ago (2015-03-05 09:46:19 UTC) #2
kozy
lgtm
5 years, 9 months ago (2015-03-05 12:03:50 UTC) #3
Yang
On 2015/03/05 12:03:50, kozyatinskiy wrote: > lgtm lgtm.
5 years, 9 months ago (2015-03-05 12:09:28 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/983603003/1
5 years, 9 months ago (2015-03-05 12:16:13 UTC) #6
commit-bot: I haz the power
Failed to apply patch for src/api.cc: While running git apply --index -3 -p1; error: patch ...
5 years, 9 months ago (2015-03-05 12:27:24 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/983603003/20001
5 years, 9 months ago (2015-03-05 12:36:42 UTC) #12
commit-bot: I haz the power
Committed patchset #2 (id:20001)
5 years, 9 months ago (2015-03-05 13:03:47 UTC) #13
commit-bot: I haz the power
5 years, 9 months ago (2015-03-05 13:04:05 UTC) #14
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/e33ae81ce1c13f80533d6c997fd39ab7d6609dfc
Cr-Commit-Position: refs/heads/master@{#27017}

Powered by Google App Engine
This is Rietveld 408576698