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

Unified Diff: tests/html/keyboard_event_test.dart

Issue 11451015: Fix dartium constructor for KeyboardEvent. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years 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 | « sdk/lib/html/templates/html/dartium/impl_KeyboardEvent.darttemplate ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/html/keyboard_event_test.dart
diff --git a/tests/html/keyboard_event_test.dart b/tests/html/keyboard_event_test.dart
index 4f32f2dd1958523c851b4836dfd4b611d890a83e..001d4d6d33d67e45a17546668fc8cfec889b9c69 100644
--- a/tests/html/keyboard_event_test.dart
+++ b/tests/html/keyboard_event_test.dart
@@ -14,6 +14,9 @@ main() {
expect(e.charCode, 0);
}
+ test('keyboardEvent constructor', () {
+ var event = new KeyboardEvent('keyup', document.window);
+ });
test('keys', () {
// This test currently is pretty much a no-op because we
// can't (right now) construct KeyboardEvents with specific keycode/charcode
« no previous file with comments | « sdk/lib/html/templates/html/dartium/impl_KeyboardEvent.darttemplate ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698