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

Unified Diff: tests/html/event_test.dart

Issue 1137803003: Workaround Dartium limitation in event_test (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 years, 7 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/html/event_test.dart
diff --git a/tests/html/event_test.dart b/tests/html/event_test.dart
index 6493c1989e7465314011ed3367d11123ef7a5df4..14c92f1db563f2e468a96d654cc75c497ff850aa 100644
--- a/tests/html/event_test.dart
+++ b/tests/html/event_test.dart
@@ -179,7 +179,9 @@ main() {
});
eventTest('WheelEvent',
- () => new WheelEvent("mousewheel", view: window, deltaX: 1, deltaY: 0,
+ // TODO(alanknight): Can't pass window on Dartium. Add view: window
+ // once going through JS.
+ () => new WheelEvent("mousewheel", deltaX: 1, deltaY: 0,
detail: 4, screenX: 3, screenY: 4, clientX: 5, clientY: 6,
ctrlKey: true, altKey: true, shiftKey: true, metaKey: true),
(ev) {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698