OLD | NEW |
1 #library("dom_traverse"); | 1 #library("dom_traverse"); |
2 #import("dart:dom"); | 2 #import("dart:dom_deprecated"); |
3 #import('../common/common.dart'); | 3 #import('../common/common.dart'); |
4 #source("Common.dart"); | 4 #source("Common.dart"); |
5 #source("RunnerSuite.dart"); | 5 #source("RunnerSuite.dart"); |
6 | 6 |
7 | 7 |
8 void main() { | 8 void main() { |
9 final int num = 40; | 9 final int num = 40; |
10 | 10 |
11 // Try to force real results. | 11 // Try to force real results. |
12 var ret; | 12 var ret; |
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
79 .test('childNodes', () { | 79 .test('childNodes', () { |
80 for (int i = 0; i < num; i++) { | 80 for (int i = 0; i < num; i++) { |
81 final nodes = document.body.childNodes; | 81 final nodes = document.body.childNodes; |
82 for (int j = 0; j < nodes.length; j++) { | 82 for (int j = 0; j < nodes.length; j++) { |
83 ret = nodes[j]; | 83 ret = nodes[j]; |
84 } | 84 } |
85 } | 85 } |
86 }) | 86 }) |
87 .end(); | 87 .end(); |
88 } | 88 } |
OLD | NEW |