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

Unified Diff: pkg/stack_trace/lib/src/frame.dart

Issue 353073004: Stop working around issue 17083 in stack_trace. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « pkg/stack_trace/CHANGELOG.md ('k') | pkg/stack_trace/pubspec.yaml » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/stack_trace/lib/src/frame.dart
diff --git a/pkg/stack_trace/lib/src/frame.dart b/pkg/stack_trace/lib/src/frame.dart
index 5b376e2eee86a97c55a03d96ea8adca573398bdd..b1db23042128acef68aad571b4cb854c6e1e4eb8 100644
--- a/pkg/stack_trace/lib/src/frame.dart
+++ b/pkg/stack_trace/lib/src/frame.dart
@@ -47,15 +47,6 @@ final _friendlyFrame = new RegExp(
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 @@ class Frame {
// 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];
« no previous file with comments | « pkg/stack_trace/CHANGELOG.md ('k') | pkg/stack_trace/pubspec.yaml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698