| 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 3f9e9acf9c33a2585d2a263e30efbcb9c231e58f..53d8bec1639ce1d1b333ac37e727b0d861b051b0 100644
|
| --- a/samples/third_party/dromaeo/tests/dom-attr-html.dart
|
| +++ b/samples/third_party/dromaeo/tests/dom-attr-html.dart
|
| @@ -18,7 +18,7 @@ void main() {
|
| new Suite(window, 'dom-attr')
|
| .test('getAttribute', () {
|
| for (int i = 0; i < num; i++)
|
| - ret = elem.attributes['id'];
|
| + ret = elem.getAttribute('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.attributes['id'] = 'foo';
|
| + a.setAttribute('id', 'foo');
|
| })
|
| .test('element.property = value', () {
|
| for (int i = 0; i < num; i++)
|
|
|