Index: client/tests/client/dom/InstanceOfTest.dart |
diff --git a/client/tests/client/dom/InstanceOfTest.dart b/client/tests/client/dom/InstanceOfTest.dart |
index 369a5b0245c7ca8edaa6cbb66594a2a6a98037ca..7bd361bf2b2e4f91ca903f45a6fd0f28085ea49a 100644 |
--- a/client/tests/client/dom/InstanceOfTest.dart |
+++ b/client/tests/client/dom/InstanceOfTest.dart |
@@ -5,13 +5,10 @@ |
main() { |
HTMLCanvasElement canvas; |
- // FIXME: remove when main is ran on content loaded. |
- window.setTimeout(() { |
- canvas = document.createElement('canvas'); |
- canvas.setAttribute('width', '100'); |
- canvas.setAttribute('height', '100'); |
- document.body.appendChild(canvas); |
- }, 0); |
+ canvas = document.createElement('canvas'); |
+ canvas.setAttribute('width', '100'); |
+ canvas.setAttribute('height', '100'); |
+ document.body.appendChild(canvas); |
forLayoutTests(); |
test('Instanceof', () { |