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

Unified Diff: client/tests/client/dom/WindowOpenTest.dart

Issue 10053013: fix a couple more dartium tests (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 8 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 | « client/tests/client/dom/InstanceOfTest.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: client/tests/client/dom/WindowOpenTest.dart
diff --git a/client/tests/client/dom/WindowOpenTest.dart b/client/tests/client/dom/WindowOpenTest.dart
index b2f0f89a802734c4a5b2d2169e2f796d6933ec69..ac93e872525b8c3b89af9c69bfdd296396639530 100644
--- a/client/tests/client/dom/WindowOpenTest.dart
+++ b/client/tests/client/dom/WindowOpenTest.dart
@@ -3,15 +3,12 @@
#import('dart:dom');
main() {
- // FIXME: when JS DOM has proper layoutTestController support, should go away.
- window.setTimeout(() {
- evaluateJavaScript(code) {
- final scriptTag = document.createElement('script');
- scriptTag.innerHTML = code;
- document.body.appendChild(scriptTag);
- }
- evaluateJavaScript('layoutTestController.setCanOpenWindows()');
- }, 0);
+ evaluateJavaScript(code) {
+ final scriptTag = document.createElement('script');
+ scriptTag.innerHTML = code;
+ document.body.appendChild(scriptTag);
+ }
+ evaluateJavaScript('layoutTestController.setCanOpenWindows()');
forLayoutTests();
asyncTest('TwoArgumentVersion', 1, () {
« no previous file with comments | « client/tests/client/dom/InstanceOfTest.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698