Stop working around issue 17083 in stack_trace. R=rnystrom@google.com Review URL: https://codereview.chromium.org//353073004 git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart/pkg/stack_trace@37762 260f80e4-7a28-3924-810f-c04153c831b5
diff --git a/pkgs/stack_trace/CHANGELOG.md b/pkgs/stack_trace/CHANGELOG.md index a58190f..a5d594a 100644 --- a/pkgs/stack_trace/CHANGELOG.md +++ b/pkgs/stack_trace/CHANGELOG.md
@@ -1,3 +1,9 @@ +## 1.0.2 + +* Remove a workaround for [issue 17083][]. + +[issue 17083]: http://code.google.com/p/dart/issues/detail?id=17083 + ## 1.0.1 * Synchronous errors in the [Chain.capture] callback are now handled correctly.
diff --git a/pkgs/stack_trace/lib/src/frame.dart b/pkgs/stack_trace/lib/src/frame.dart index 5b376e2..b1db230 100644 --- a/pkgs/stack_trace/lib/src/frame.dart +++ b/pkgs/stack_trace/lib/src/frame.dart
@@ -47,15 +47,6 @@ final _initialDot = new RegExp(r"^\."); -/// "dart:" libraries that are incorrectly reported without a "dart:" prefix. -/// -/// See issue 11901. All these libraries should be in "dart:io". -final _ioLibraries = new Set.from([ - new Uri(path: 'timer_impl.dart'), - new Uri(path: 'http_impl.dart'), - new Uri(path: 'http_parser.dart') -]); - /// A single stack frame. Each frame points to a precise location in Dart code. class Frame { /// The URI of the file in which the code is located. @@ -135,7 +126,6 @@ // always be found. The column is optional. var member = match[1].replaceAll("<anonymous closure>", "<fn>"); var uri = Uri.parse(match[2]); - if (_ioLibraries.contains(uri)) uri = Uri.parse('dart:io/${uri.path}'); var line = int.parse(match[3]); var column = null; var columnMatch = match[4];
diff --git a/pkgs/stack_trace/pubspec.yaml b/pkgs/stack_trace/pubspec.yaml index a0fa396..5226cf8 100644 --- a/pkgs/stack_trace/pubspec.yaml +++ b/pkgs/stack_trace/pubspec.yaml
@@ -7,7 +7,7 @@ # # When the major version is upgraded, you *must* update that version constraint # in pub to stay in sync with this. -version: 1.0.1 +version: 1.0.2 author: "Dart Team <misc@dartlang.org>" homepage: http://www.dartlang.org description: >