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

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

Issue 10389097: Move dart:dom to dart:dom_deprecated (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Fixes from review Created 8 years, 7 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"); 2 #import("dart:dom_deprecated");
3 #import("dart:json"); 3 #import("dart:json");
4 #source("Common.dart"); 4 #source("Common.dart");
5 #source("RunnerSuite.dart"); 5 #source("RunnerSuite.dart");
6 6
7 void main() { 7 void main() {
8 final int num = 10240; 8 final int num = 10240;
9 9
10 // Try to force real results. 10 // Try to force real results.
11 var ret; 11 var ret;
12 12
(...skipping 12 matching lines...) Expand all
25 .test('setAttribute', () { 25 .test('setAttribute', () {
26 for (int i = 0; i < num; i++) 26 for (int i = 0; i < num; i++)
27 a.setAttribute('id', 'foo'); 27 a.setAttribute('id', 'foo');
28 }) 28 })
29 .test('element.property = value', () { 29 .test('element.property = value', () {
30 for (int i = 0; i < num; i++) 30 for (int i = 0; i < num; i++)
31 a.id = 'foo'; 31 a.id = 'foo';
32 }) 32 })
33 .end(); 33 .end();
34 } 34 }
OLDNEW
« no previous file with comments | « samples/third_party/dromaeo/tests/RunnerSuite.dart ('k') | samples/third_party/dromaeo/tests/dom-modify.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698