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

Unified Diff: tests/lib/async/timer_test.dart

Issue 96643003: Change Future.timeout callback to a named parameter. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Remove dartium change, reduce safetyMargin for VM to 0. Created 7 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 | « tests/lib/async/timer_isolate_test.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/lib/async/timer_test.dart
diff --git a/tests/lib/async/timer_test.dart b/tests/lib/async/timer_test.dart
index cbb317cd07ac12e0f104e99d3ae1336390bffeed..057d3a7ee117ab621f7ed329126a480c61c18113 100644
--- a/tests/lib/async/timer_test.dart
+++ b/tests/lib/async/timer_test.dart
@@ -18,7 +18,7 @@ int iteration;
// Some browsers (Firefox and IE so far) can trigger too early. Add a safety
// margin. We use identical(1, 1.0) as an easy way to know if the test is
// compiled by dart2js.
-int get safetyMargin => identical(1, 1.0) ? 100 : 1;
+int get safetyMargin => identical(1, 1.0) ? 100 : 0;
void timeoutHandler() {
int endTime = (new DateTime.now()).millisecondsSinceEpoch;
« no previous file with comments | « tests/lib/async/timer_isolate_test.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698