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

Issue 2337213003: Support generating inlined source maps and wrapping module contents within a JavaScript eval block … (Closed)

Created:
4 years, 3 months ago by Jacob
Modified:
4 years, 3 months ago
Reviewers:
vsm, Jennifer Messerly
CC:
dev-compiler+reviews_dartlang.org
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Support generating inlined source maps and wrapping module contents within a JavaScript eval block to improve the debugging experience. BUG= R=vsm@google.com Committed: https://github.com/dart-lang/sdk/commit/bda62939a2c4d0fb470ff3b28e07b4ad1bacf41a

Patch Set 1 #

Patch Set 2 : Support generating inlined source maps and wrapping module contents within a JavaScript eval block … #

Total comments: 4

Patch Set 3 : Refactor based on John's offline comments. #

Patch Set 4 : Refactor based on John's offline comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+147 lines, -52 lines) Patch
M pkg/dev_compiler/lib/src/compiler/command.dart View 1 2 3 2 chunks +10 lines, -1 line 0 comments Download
M pkg/dev_compiler/lib/src/compiler/compiler.dart View 1 2 3 11 chunks +84 lines, -28 lines 0 comments Download
M pkg/dev_compiler/lib/src/compiler/module_builder.dart View 1 2 3 6 chunks +53 lines, -23 lines 0 comments Download

Messages

Total messages: 17 (3 generated)
Jacob
A side effect of using JavaScript eval is we unfortunately have to specify the source ...
4 years, 3 months ago (2016-09-13 21:40:40 UTC) #2
Jennifer Messerly
On 2016/09/13 21:40:40, Jacob wrote: > A side effect of using JavaScript eval is we ...
4 years, 3 months ago (2016-09-13 21:55:07 UTC) #3
vsm
https://codereview.chromium.org/2337213003/diff/20001/pkg/dev_compiler/lib/src/compiler/compiler.dart File pkg/dev_compiler/lib/src/compiler/compiler.dart (right): https://codereview.chromium.org/2337213003/diff/20001/pkg/dev_compiler/lib/src/compiler/compiler.dart#newcode301 pkg/dev_compiler/lib/src/compiler/compiler.dart:301: ..addOption('file-mapping', Can you include an example of how this ...
4 years, 3 months ago (2016-09-13 22:08:21 UTC) #4
vsm
https://codereview.chromium.org/2337213003/diff/20001/pkg/dev_compiler/lib/src/compiler/compiler.dart File pkg/dev_compiler/lib/src/compiler/compiler.dart (right): https://codereview.chromium.org/2337213003/diff/20001/pkg/dev_compiler/lib/src/compiler/compiler.dart#newcode301 pkg/dev_compiler/lib/src/compiler/compiler.dart:301: ..addOption('file-mapping', On 2016/09/13 22:08:20, vsm wrote: > Can you ...
4 years, 3 months ago (2016-09-13 22:17:32 UTC) #5
Jennifer Messerly
https://codereview.chromium.org/2337213003/diff/20001/pkg/dev_compiler/lib/src/compiler/compiler.dart File pkg/dev_compiler/lib/src/compiler/compiler.dart (right): https://codereview.chromium.org/2337213003/diff/20001/pkg/dev_compiler/lib/src/compiler/compiler.dart#newcode301 pkg/dev_compiler/lib/src/compiler/compiler.dart:301: ..addOption('file-mapping', On 2016/09/13 22:17:32, vsm wrote: > On 2016/09/13 ...
4 years, 3 months ago (2016-09-13 22:43:39 UTC) #7
Jennifer Messerly
https://codereview.chromium.org/2337213003/diff/20001/pkg/dev_compiler/lib/src/compiler/compiler.dart File pkg/dev_compiler/lib/src/compiler/compiler.dart (right): https://codereview.chromium.org/2337213003/diff/20001/pkg/dev_compiler/lib/src/compiler/compiler.dart#newcode437 pkg/dev_compiler/lib/src/compiler/compiler.dart:437: if (options.wrapInEval) { this is not the right place ...
4 years, 3 months ago (2016-09-13 23:00:33 UTC) #8
vsm
general LGTM to land so we can iterate Can you please: (1) Flesh out the ...
4 years, 3 months ago (2016-09-13 23:21:17 UTC) #9
Jacob
changed --file-mappings to --bazel-mapping to make the intent a bit clearer. discussed offline with jmesserly ...
4 years, 3 months ago (2016-09-14 02:07:35 UTC) #10
Jacob
Also got a bit carried away and added sourcemaps for the sdk. Not sure why ...
4 years, 3 months ago (2016-09-14 02:08:14 UTC) #11
Jennifer Messerly
On 2016/09/14 02:08:14, Jacob wrote: > Also got a bit carried away and added sourcemaps ...
4 years, 3 months ago (2016-09-14 15:53:02 UTC) #12
Jacob
On 2016/09/14 15:53:02, John Messerly wrote: > On 2016/09/14 02:08:14, Jacob wrote: > > Also ...
4 years, 3 months ago (2016-09-14 16:48:26 UTC) #13
vsm
On 2016/09/14 16:48:26, Jacob wrote: > On 2016/09/14 15:53:02, John Messerly wrote: > > On ...
4 years, 3 months ago (2016-09-14 16:52:42 UTC) #14
Jennifer Messerly
On 2016/09/14 16:52:42, vsm wrote: > On 2016/09/14 16:48:26, Jacob wrote: > > On 2016/09/14 ...
4 years, 3 months ago (2016-09-14 16:58:13 UTC) #15
Jacob
4 years, 3 months ago (2016-09-14 17:54:54 UTC) #17
Message was sent while issue was closed.
Committed patchset #4 (id:50001) manually as
bda62939a2c4d0fb470ff3b28e07b4ad1bacf41a (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698