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

Unified Diff: tests/html/event_customevent_test.dart

Issue 12025027: Cleaning up event constructors (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 11 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/event_customevent_test.dart
diff --git a/tests/html/event_customevent_test.dart b/tests/html/event_customevent_test.dart
index ce80b552173c2d156d96d8c6c5c288854974f303..2f506278320d24164e962aee02077f7e18bd0708 100644
--- a/tests/html/event_customevent_test.dart
+++ b/tests/html/event_customevent_test.dart
@@ -27,7 +27,8 @@ main() {
useHtmlConfiguration();
eventTest('CustomEvent.initCustomEvent', () {
- return new CustomEvent('foo', false, false, 'detail');
+ return new CustomEvent('foo', canBubble: false, cancelable: false,
+ detail: 'detail');
},
(ev) { expect(ev.detail, equals('detail')); });
}

Powered by Google App Engine
This is Rietveld 408576698