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

Unified Diff: tests/html/notifications_test.dart

Issue 12217089: Allow non-primitive-value dictionaries to be passed to constructors for html (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 10 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
Index: tests/html/notifications_test.dart
diff --git a/tests/html/notifications_test.dart b/tests/html/notifications_test.dart
index 796680f72114c43edee69a3c44fe40f07d257c18..eb1a9a378673f5cc9f8daac77d242bec5441710a 100644
--- a/tests/html/notifications_test.dart
+++ b/tests/html/notifications_test.dart
@@ -28,6 +28,12 @@ main() {
expect(e.name, DomException.SECURITY);
}
});
+
+ test('construct notification', () {
+ var note = new Notification('this is a notification');
+ var note2 = new Notification('another notificiation',
+ {'option1': 'foo'});
+ });
}
});
}

Powered by Google App Engine
This is Rietveld 408576698