| OLD | NEW |
| 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 = 10240; | 9 final int num = 10240; |
| 11 | 10 |
| 12 // Try to force real results. | 11 // Try to force real results. |
| (...skipping 14 matching lines...) Expand all Loading... |
| 27 .test('setAttribute', () { | 26 .test('setAttribute', () { |
| 28 for (int i = 0; i < num; i++) | 27 for (int i = 0; i < num; i++) |
| 29 a.$dom_setAttribute('id', 'foo'); | 28 a.$dom_setAttribute('id', 'foo'); |
| 30 }) | 29 }) |
| 31 .test('element.property = value', () { | 30 .test('element.property = value', () { |
| 32 for (int i = 0; i < num; i++) | 31 for (int i = 0; i < num; i++) |
| 33 a.id = 'foo'; | 32 a.id = 'foo'; |
| 34 }) | 33 }) |
| 35 .end(); | 34 .end(); |
| 36 } | 35 } |
| OLD | NEW |