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

Issue 2555223004: Fix behavior causing frames lacking a source map to always be omitted. Add `includeUnmappedFrames` … (Closed)

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

Description

Support extended source maps. Pass stack frame uris to source map `Mapping` fixing bug where source map lookups occurred using the wrong file when using a extended source map bundle that specified file information. R=nweiz@google.com Committed: https://github.com/dart-lang/source_map_stack_trace/commit/f4bbbda4b32fb704d7eeec1d43b1948c8ebeed26

Patch Set 1 #

Patch Set 2 : Fix behavior causing frames lacking a source map to always be omitted. Add `includeUnmappedFrames` … #

Patch Set 3 : Fix behavior so frames that do not match the source map are still be emitted if the new `includeUnm… #

Total comments: 20

Patch Set 4 : Support extended source maps. #

Patch Set 5 : Support extended source maps. #

Patch Set 6 : Support extended source maps. #

Total comments: 13

Patch Set 7 : Support extended source maps. #

Patch Set 8 : Support extended source maps. #

Patch Set 9 : Support extended source maps. #

Total comments: 3

Patch Set 10 : Support extended source maps. #

Patch Set 11 : Add second dart file to test. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+62 lines, -3 lines) Patch
M CHANGELOG.md View 1 2 3 1 chunk +5 lines, -0 lines 0 comments Download
M lib/source_map_stack_trace.dart View 1 2 3 4 5 6 7 8 9 1 chunk +2 lines, -1 line 0 comments Download
M pubspec.yaml View 1 2 3 4 5 6 7 8 9 2 chunks +2 lines, -2 lines 0 comments Download
M test/source_map_stack_trace_test.dart View 1 2 3 4 5 6 7 8 9 10 2 chunks +53 lines, -0 lines 0 comments Download

Messages

Total messages: 18 (3 generated)
Jacob
Fix behavior so frames that do not match the source map are still be emitted ...
4 years ago (2016-12-08 22:46:58 UTC) #2
nweiz
Can you provide some more context for this? What JS files are we seeing that ...
4 years ago (2016-12-08 23:34:32 UTC) #3
nweiz
Also, please follow the commit message best practices: https://github.com/dart-lang/sdk/wiki/5-Commit-Message-Best-Practices
4 years ago (2016-12-08 23:35:01 UTC) #4
Jacob
https://codereview.chromium.org/2555223004/diff/40001/CHANGELOG.md File CHANGELOG.md (right): https://codereview.chromium.org/2555223004/diff/40001/CHANGELOG.md#newcode1 CHANGELOG.md:1: ## 1.1.3+1 On 2016/12/08 23:34:31, nweiz wrote: > Build ...
4 years ago (2016-12-09 02:18:29 UTC) #6
Jacob
https://codereview.chromium.org/2555223004/diff/40001/lib/source_map_stack_trace.dart File lib/source_map_stack_trace.dart (left): https://codereview.chromium.org/2555223004/diff/40001/lib/source_map_stack_trace.dart#oldcode68 lib/source_map_stack_trace.dart:68: // internal that the user doesn't care about. On ...
4 years ago (2016-12-09 20:21:43 UTC) #7
nweiz
https://codereview.chromium.org/2555223004/diff/100001/lib/source_map_stack_trace.dart File lib/source_map_stack_trace.dart (right): https://codereview.chromium.org/2555223004/diff/100001/lib/source_map_stack_trace.dart#newcode66 lib/source_map_stack_trace.dart:66: sourceMap.spanFor(frame.line - 1, column - 1, uri: frame.uri?.toString()); Long ...
4 years ago (2016-12-12 22:04:56 UTC) #8
Jacob
https://codereview.chromium.org/2555223004/diff/100001/lib/source_map_stack_trace.dart File lib/source_map_stack_trace.dart (right): https://codereview.chromium.org/2555223004/diff/100001/lib/source_map_stack_trace.dart#newcode66 lib/source_map_stack_trace.dart:66: sourceMap.spanFor(frame.line - 1, column - 1, uri: frame.uri?.toString()); On ...
4 years ago (2016-12-13 18:01:54 UTC) #9
nweiz
https://codereview.chromium.org/2555223004/diff/100001/test/source_map_stack_trace_test.dart File test/source_map_stack_trace_test.dart (right): https://codereview.chromium.org/2555223004/diff/100001/test/source_map_stack_trace_test.dart#newcode62 test/source_map_stack_trace_test.dart:62: test("include JS frames from external libraries with source map ...
4 years ago (2016-12-13 22:05:46 UTC) #10
Jacob
https://codereview.chromium.org/2555223004/diff/100001/test/source_map_stack_trace_test.dart File test/source_map_stack_trace_test.dart (right): https://codereview.chromium.org/2555223004/diff/100001/test/source_map_stack_trace_test.dart#newcode62 test/source_map_stack_trace_test.dart:62: test("include JS frames from external libraries with source map ...
4 years ago (2016-12-13 23:13:05 UTC) #11
nweiz
https://codereview.chromium.org/2555223004/diff/100001/test/source_map_stack_trace_test.dart File test/source_map_stack_trace_test.dart (right): https://codereview.chromium.org/2555223004/diff/100001/test/source_map_stack_trace_test.dart#newcode95 test/source_map_stack_trace_test.dart:95: On 2016/12/13 23:13:05, Jacob wrote: > On 2016/12/13 22:05:46, ...
4 years ago (2016-12-13 23:43:48 UTC) #12
Jacob
On 2016/12/13 23:43:48, nweiz wrote: > https://codereview.chromium.org/2555223004/diff/100001/test/source_map_stack_trace_test.dart > File test/source_map_stack_trace_test.dart (right): > > https://codereview.chromium.org/2555223004/diff/100001/test/source_map_stack_trace_test.dart#newcode95 > ...
4 years ago (2016-12-14 02:11:46 UTC) #13
nweiz
On 2016/12/14 02:11:46, Jacob wrote: > Tests in this package do not need to verify ...
4 years ago (2016-12-14 02:20:25 UTC) #14
Jacob
On 2016/12/14 02:20:25, nweiz wrote: > On 2016/12/14 02:11:46, Jacob wrote: > > Tests in ...
4 years ago (2016-12-14 02:40:03 UTC) #15
nweiz
lgtm
4 years ago (2016-12-14 20:52:22 UTC) #16
Jacob
4 years ago (2016-12-14 22:37:10 UTC) #18
Message was sent while issue was closed.
Committed patchset #11 (id:200001) manually as
f4bbbda4b32fb704d7eeec1d43b1948c8ebeed26 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698