Index: lib/src/frame.dart |
diff --git a/lib/src/frame.dart b/lib/src/frame.dart |
index 072983a1b3c03ad4a63268fe529fa9eae4e0f267..4077c7cba54318863a6f6799daf5bac5c5f30fcb 100644 |
--- a/lib/src/frame.dart |
+++ b/lib/src/frame.dart |
@@ -95,8 +95,11 @@ class Frame { |
/// comes from. |
/// |
/// This will usually be the string form of [uri], but a relative URI will be |
- /// used if possible. |
- String get library => path.prettyUri(uri); |
+ /// used if possible. Data URIs will be truncated. |
+ String get library { |
+ if (uri.scheme == 'data') return "data:..."; |
+ return path.prettyUri(uri); |
+ } |
/// Returns the name of the package this stack frame comes from, or `null` if |
/// this stack frame doesn't come from a `package:` URL. |