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

Unified Diff: tests/html/keyboard_event_test.dart

Issue 11475033: Fix up DOM keyboardEvent constructor for dartium. (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 b57910463720feb31d9465246a8e74a5dcfb287f..550055926b345d89f2f6f54d8d13ee7b911b4b1d 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);
Emily Fortuna 2012/12/07 18:29:05 This is the one change that is different from the
+ });
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