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

Unified Diff: tests/html/window_open_test.dart

Issue 12212200: "Reverting 18531" (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 10 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/html/transition_event_test.dart ('k') | tools/dom/scripts/htmlrenamer.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/html/window_open_test.dart
diff --git a/tests/html/window_open_test.dart b/tests/html/window_open_test.dart
index 23baef4603a7822357de0b07056a1696c4283e0b..8fbe664ba32c837decf73cbf6d3a6049fa7f8427 100644
--- a/tests/html/window_open_test.dart
+++ b/tests/html/window_open_test.dart
@@ -2,7 +2,6 @@ library WindowOpenTest;
import '../../pkg/unittest/lib/unittest.dart';
import '../../pkg/unittest/lib/html_config.dart';
import 'dart:html';
-import 'dart:async';
main() {
useHtmlConfiguration();
@@ -27,8 +26,8 @@ closeWindow(win) {
win.close();
doneHandler() {
if (!win.closed) {
- new Timer(const Duration(milliseconds: 1), expectAsync0(doneHandler));
+ window.setTimeout(expectAsync0(doneHandler), 1);
}
}
- new Timer(const Duration(milliseconds: 1), expectAsync0(doneHandler));
+ window.setTimeout(expectAsync0(doneHandler), 1);
}
« no previous file with comments | « tests/html/transition_event_test.dart ('k') | tools/dom/scripts/htmlrenamer.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698