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

Side by Side Diff: dart/samples/third_party/dromaeo/tests/dom-modify-html.dart

Issue 12207198: Revert "Reapply remove setTimeout, take 3." (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge
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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 library dromaeo; 1 library dromaeo;
2 import 'dart:async';
3 import 'dart:html'; 2 import 'dart:html';
4 import 'dart:json' as json; 3 import 'dart:json' as json;
5 import 'dart:math' as Math; 4 import 'dart:math' as Math;
6 part 'Common.dart'; 5 part 'Common.dart';
7 part 'RunnerSuite.dart'; 6 part 'RunnerSuite.dart';
8 7
9 void main() { 8 void main() {
10 final int num = 400; 9 final int num = 400;
11 var random = new Math.Random(); 10 var random = new Math.Random();
12 11
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
62 .test('appendChild', () { 61 .test('appendChild', () {
63 for (int i = 0; i < elems.length; i++) 62 for (int i = 0; i < elems.length; i++)
64 document.body.$dom_appendChild(elems[i]); 63 document.body.$dom_appendChild(elems[i]);
65 }) 64 })
66 .test('insertBefore', () { 65 .test('insertBefore', () {
67 for (int i = 0; i < elems.length; i++) 66 for (int i = 0; i < elems.length; i++)
68 document.body.insertBefore(elems[i], document.body.$dom_firstChild); 67 document.body.insertBefore(elems[i], document.body.$dom_firstChild);
69 }) 68 })
70 .end(); 69 .end();
71 } 70 }
OLDNEW
« no previous file with comments | « dart/samples/third_party/dromaeo/tests/dom-attr-html.dart ('k') | dart/samples/third_party/dromaeo/tests/dom-query-html.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698