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

Unified Diff: tests/html/event_test.dart

Issue 1130783003: Test suppressions and fixes for WheelEvent and related changes. (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 | « tests/co19/co19-dartium.status ('k') | tests/html/html.status » ('j') | 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 87213f1fda1603d5db41aee81c8d80c56c975594..6493c1989e7465314011ed3367d11123ef7a5df4 100644
--- a/tests/html/event_test.dart
+++ b/tests/html/event_test.dart
@@ -100,11 +100,9 @@ main() {
// KeyboardEvent has its own test file, and has cross-browser issues.
eventTest('MouseEvent',
- // canBubble and cancelable are currently required to avoid dartc
- // complaining about the types of the named arguments.
() => new MouseEvent('foo', view: window, detail: 1, screenX: 2,
- screenY: 3, clientX: 4, clientY: 5, button: 6, canBubble: true,
- cancelable: true, ctrlKey: true, altKey: true, shiftKey: true,
+ screenY: 3, clientX: 4, clientY: 5, button: 6,
+ ctrlKey: true, altKey: true, shiftKey: true,
metaKey: true, relatedTarget: document.body),
(ev) {
expect(ev.detail, 1);
@@ -119,7 +117,9 @@ main() {
expect(ev.altKey, isTrue);
expect(ev.shiftKey, isTrue);
expect(ev.metaKey, isTrue);
- expect(ev.relatedTarget, document.body);
+ // TODO(alanknight): The target does not seem to get correctly set.
+ // Issue 23438
+ // expect(ev.relatedTarget, document.body);
});
// Issue 1005.
« no previous file with comments | « tests/co19/co19-dartium.status ('k') | tests/html/html.status » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698