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

Unified Diff: tests/html/wheelevent_test.dart

Issue 11956030: Fixing dartc error about not using ~/ operator and FF test error. (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
« no previous file with comments | « sdk/lib/html/dartium/html_dartium.dart ('k') | tools/dom/templates/html/impl/impl_WheelEvent.darttemplate » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/html/wheelevent_test.dart
diff --git a/tests/html/wheelevent_test.dart b/tests/html/wheelevent_test.dart
index a9932b9677bb2f416606907cbd5133907819c48f..fed10deb7c84be7294529d11037934f5639b773e 100644
--- a/tests/html/wheelevent_test.dart
+++ b/tests/html/wheelevent_test.dart
@@ -23,11 +23,7 @@ main() {
wheelEvent = 'mousewheel';
} else if (userAgent.contains('Firefox')) {
// FF appears to have recently added support for wheel.
- if (userAgent.contains('Firefox/17')) {
- wheelEvent = 'DOMMouseScroll';
- } else {
- wheelEvent = 'wheel';
- }
+ wheelEvent = 'wheel';
} else if (userAgent.contains('WebKit', 0)) {
wheelEvent = 'mousewheel';
}
« no previous file with comments | « sdk/lib/html/dartium/html_dartium.dart ('k') | tools/dom/templates/html/impl/impl_WheelEvent.darttemplate » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698