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

Unified Diff: tests/html/event_customevent_test.dart

Issue 11036024: Revert r13127. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 2 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 | « lib/html/templates/html/interface/interface_CustomEvent.darttemplate ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/html/event_customevent_test.dart
===================================================================
--- tests/html/event_customevent_test.dart (revision 13128)
+++ tests/html/event_customevent_test.dart (working copy)
@@ -27,7 +27,10 @@
useHtmlConfiguration();
eventTest('CustomEvent.initCustomEvent', () {
- return new CustomEvent('foo', false, false, 'detail');
+ // TODO: switch to constructors later.
+ final ev = document.$dom_createEvent('CustomEvent');
+ ev.initCustomEvent('foo', false, false, 'detail');
+ return ev;
},
(ev) { expect(ev.detail, equals('detail')); });
}
« no previous file with comments | « lib/html/templates/html/interface/interface_CustomEvent.darttemplate ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698