OLD | NEW |
1 #library("dom_query_html"); | 1 #library("dom_query_html"); |
2 #import("dart:html"); | 2 #import("dart:html"); |
3 #import('../common/common.dart'); | 3 #import('../common/common.dart'); |
| 4 #import("dart:math", prefix: "Math"); |
4 #source("Common.dart"); | 5 #source("Common.dart"); |
5 #source("RunnerSuite.dart"); | 6 #source("RunnerSuite.dart"); |
6 | 7 |
7 void main() { | 8 void main() { |
8 final int num = 40; | 9 final int num = 40; |
9 | 10 |
10 // Try to force real results. | 11 // Try to force real results. |
11 var ret; | 12 var ret; |
12 | 13 |
13 String html = document.body.innerHTML; | 14 String html = document.body.innerHTML; |
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
94 for (int i = 0; i < num * 20; i++) { | 95 for (int i = 0; i < num * 20; i++) { |
95 ret = document.queryAll('[name="test"]').length == 0; | 96 ret = document.queryAll('[name="test"]').length == 0; |
96 ret = document.queryAll('[name="test"]').length == 0; | 97 ret = document.queryAll('[name="test"]').length == 0; |
97 ret = document.queryAll('[name="test"]').length == 0; | 98 ret = document.queryAll('[name="test"]').length == 0; |
98 ret = document.queryAll('[name="test"]').length == 0; | 99 ret = document.queryAll('[name="test"]').length == 0; |
99 ret = document.queryAll('[name="test"]').length == 0; | 100 ret = document.queryAll('[name="test"]').length == 0; |
100 } | 101 } |
101 }) | 102 }) |
102 .end(); | 103 .end(); |
103 } | 104 } |
OLD | NEW |