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

Unified Diff: client/tests/client/dom/InstanceOfTest.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 | « no previous file | client/tests/client/dom/WindowOpenTest.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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', () {
« no previous file with comments | « no previous file | client/tests/client/dom/WindowOpenTest.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698