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

Issue 2564683003: Improve handling of locations not from the uris the source map is for. (Closed)

Created:
4 years ago by Jacob
Modified:
4 years ago
CC:
reviews_dartlang.org
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Improve handling of locations not from the uris the source map is for. Make `MappingBundle` distinguish between locations from a file with source maps that do not have a source map entry and locations that are from a file that does not have a source map. This enables more graceful generation of stack traces with mixed Dart and JS stack frames. Support a new source map bundle format useful for the Dart Dev Compiler. A source map bundle is a JSON array where each entry is a source map. BUG= R=sigmund@google.com Committed: https://github.com/dart-lang/source_maps/commit/6783522f7af6e6abe94b3cb3be52a0624ab13aeb

Patch Set 1 #

Patch Set 2 : Improve handling of locations not from the uris the source map is for. Make `MappingBundle` disting… #

Total comments: 6

Patch Set 3 : Improve handling of locations not from the uris the source map is for. Make `MappingBundle` disting… #

Patch Set 4 : Fix strong mode error in test. #

Patch Set 5 : Fix strong mode error in test. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+5 lines, -2 lines) Patch
M CHANGELOG.md View 1 2 3 1 chunk +3 lines, -0 lines 0 comments Download
M pubspec.yaml View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M test/parser_test.dart View 1 2 3 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 7 (2 generated)
Jacob
Based on discussion of source_map_stack_trace cl. This changes the default behavior to be good for ...
4 years ago (2016-12-09 01:56:27 UTC) #2
Siggi Cherem (dart-lang)
https://codereview.chromium.org/2564683003/diff/20001/CHANGELOG.md File CHANGELOG.md (right): https://codereview.chromium.org/2564683003/diff/20001/CHANGELOG.md#newcode3 CHANGELOG.md:3: * Improve handling of locations not from the uris ...
4 years ago (2016-12-09 16:38:38 UTC) #3
Jacob
ptal. applied the suggested comment tweaks and kept fake offsets under 32 bits. https://codereview.chromium.org/2564683003/diff/20001/CHANGELOG.md File ...
4 years ago (2016-12-09 17:18:03 UTC) #4
Siggi Cherem (dart-lang)
lgtm, thanks Jacob
4 years ago (2016-12-09 17:51:16 UTC) #5
Jacob
4 years ago (2016-12-09 17:56:16 UTC) #7
Message was sent while issue was closed.
Committed patchset #3 (id:40001) manually as
6783522f7af6e6abe94b3cb3be52a0624ab13aeb (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698