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

Unified Diff: pkg/stack_trace/test/frame_test.dart

Issue 197283039: Support IE10 stack traces in pkg/stack_trace. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 9 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/lib/src/frame.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/stack_trace/test/frame_test.dart
diff --git a/pkg/stack_trace/test/frame_test.dart b/pkg/stack_trace/test/frame_test.dart
index b61e8bb89ddef714a84421159efd3250f5d3bcc1..bbb905ad133f2374d8603e6e8b7ab519da930b07 100644
--- a/pkg/stack_trace/test/frame_test.dart
+++ b/pkg/stack_trace/test/frame_test.dart
@@ -177,6 +177,16 @@ void main() {
expect(frame.member, equals('eval'));
});
+ test('parses an IE10 eval stack frame correctly', () {
+ var frame = new Frame.parseV8(" at eval (eval at Anonymous function "
+ "(http://pub.dartlang.org/stuff.dart.js:560:28))");
+ expect(frame.uri,
+ equals(Uri.parse("http://pub.dartlang.org/stuff.dart.js")));
+ expect(frame.line, equals(560));
+ expect(frame.column, equals(28));
+ expect(frame.member, equals('eval'));
+ });
+
test('parses an eval stack frame with inner position info correctly', () {
var frame = new Frame.parseV8(" at eval (eval at <anonymous> "
"(http://pub.dartlang.org/stuff.dart.js:560:28), <anonymous>:3:28)");
« no previous file with comments | « pkg/stack_trace/lib/src/frame.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698