OLD | NEW |
1 #library("dom-query.dart"); | 1 #library("dom-query.dart"); |
2 #import("dart:dom"); | 2 #import("dart:dom"); |
3 #import('../../common/common.dart'); | 3 #import('../common/common.dart'); |
4 #import('runner.dart'); | 4 #import('runner.dart'); |
5 | 5 |
6 void main() { | 6 void main() { |
7 final int num = 40; | 7 final int num = 40; |
8 | 8 |
9 // Try to force real results. | 9 // Try to force real results. |
10 var ret; | 10 var ret; |
11 | 11 |
12 String html = document.body.innerHTML; | 12 String html = document.body.innerHTML; |
13 | 13 |
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
93 for (int i = 0; i < num * 20; i++) { | 93 for (int i = 0; i < num * 20; i++) { |
94 ret = document.getElementsByName('test').length == 0; | 94 ret = document.getElementsByName('test').length == 0; |
95 ret = document.getElementsByName('test').length == 0; | 95 ret = document.getElementsByName('test').length == 0; |
96 ret = document.getElementsByName('test').length == 0; | 96 ret = document.getElementsByName('test').length == 0; |
97 ret = document.getElementsByName('test').length == 0; | 97 ret = document.getElementsByName('test').length == 0; |
98 ret = document.getElementsByName('test').length == 0; | 98 ret = document.getElementsByName('test').length == 0; |
99 } | 99 } |
100 }) | 100 }) |
101 .end(); | 101 .end(); |
102 } | 102 } |
OLD | NEW |