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

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

Issue 10909035: Revert 11715. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 3 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("dom_attr"); 1 #library("dom_attr");
2 #import("dart:dom_deprecated"); 2 #import("dart:dom_deprecated");
3 #import("dart:json"); 3 #import("dart:json");
4 #import("dart:math", prefix: "Math"); 4 #import("dart:math", prefix: "Math");
5 #source("Common.dart"); 5 #source("Common.dart");
6 #source("RunnerSuite.dart"); 6 #source("RunnerSuite.dart");
7 7
8 void main() { 8 void main() {
9 final int num = 10240; 9 final int num = 10240;
10 10
(...skipping 15 matching lines...) Expand all
26 .test('setAttribute', () { 26 .test('setAttribute', () {
27 for (int i = 0; i < num; i++) 27 for (int i = 0; i < num; i++)
28 a.setAttribute('id', 'foo'); 28 a.setAttribute('id', 'foo');
29 }) 29 })
30 .test('element.property = value', () { 30 .test('element.property = value', () {
31 for (int i = 0; i < num; i++) 31 for (int i = 0; i < num; i++)
32 a.id = 'foo'; 32 a.id = 'foo';
33 }) 33 })
34 .end(); 34 .end();
35 } 35 }
OLDNEW
« no previous file with comments | « samples/third_party/dromaeo/tests/RunnerSuite.dart ('k') | samples/third_party/dromaeo/tests/dom-attr-dom.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698