Index: samples/third_party/dromaeo/tests/dom-attr-html.dart |
diff --git a/samples/third_party/dromaeo/tests/dom-attr-html.dart b/samples/third_party/dromaeo/tests/dom-attr-html.dart |
index 6fec2fba2bd2f28f51624660c6e8b178b9a45b31..f83deb1d0a18d7bb158847db9d2c454368e92bea 100644 |
--- a/samples/third_party/dromaeo/tests/dom-attr-html.dart |
+++ b/samples/third_party/dromaeo/tests/dom-attr-html.dart |
@@ -11,14 +11,14 @@ void main() { |
// Try to force real results. |
var ret; |
- |
+ |
Element elem = document.query('#test1'); |
Element a = document.query('a'); |
new Suite(window, 'dom-attr') |
.test('getAttribute', () { |
for (int i = 0; i < num; i++) |
- ret = elem.$dom_getAttribute('id'); |
+ ret = elem.attributes['id']; |
}) |
.test('element.property', () { |
for (int i = 0; i < num * 2; i++) |
@@ -26,7 +26,7 @@ void main() { |
}) |
.test('setAttribute', () { |
for (int i = 0; i < num; i++) |
- a.$dom_setAttribute('id', 'foo'); |
+ a.attributes['id'] = 'foo'; |
}) |
.test('element.property = value', () { |
for (int i = 0; i < num; i++) |