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, () { |