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

Unified Diff: tests/html/keyboard_event_test.dart

Issue 12061004: Updating KeyboardEvent constructor to use named parameters. (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/keyboard_event_test.dart
diff --git a/tests/html/keyboard_event_test.dart b/tests/html/keyboard_event_test.dart
index 550055926b345d89f2f6f54d8d13ee7b911b4b1d..0fe4fdbdab8ed2fd5e80fa849c359d4089c0590e 100644
--- a/tests/html/keyboard_event_test.dart
+++ b/tests/html/keyboard_event_test.dart
@@ -15,7 +15,7 @@ main() {
}
test('keyboardEvent constructor', () {
- var event = new KeyboardEvent('keyup', document.window);
+ var event = new KeyboardEvent('keyup');
});
test('keys', () {
// This test currently is pretty much a no-op because we
« no previous file with comments | « sdk/lib/html/dartium/html_dartium.dart ('k') | tools/dom/templates/html/dart2js/impl_KeyboardEvent.darttemplate » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698