| Index: samples/third_party/dromaeo/tests/dom-traverse-html.dart
|
| diff --git a/samples/third_party/dromaeo/tests/dom-traverse-html.dart b/samples/third_party/dromaeo/tests/dom-traverse-html.dart
|
| index d49e9d98ed4b0e058854216bc32b917e0a2cf298..19fb3e5e9077b86c74725c808483454f8bd47343 100644
|
| --- a/samples/third_party/dromaeo/tests/dom-traverse-html.dart
|
| +++ b/samples/third_party/dromaeo/tests/dom-traverse-html.dart
|
| @@ -34,7 +34,7 @@ void main() {
|
| document.body.append(div);
|
| })
|
| .test('firstChild', () {
|
| - final nodes = document.body.nodes;
|
| + final nodes = document.body.childNodes;
|
| final nl = nodes.length;
|
|
|
| for (int i = 0; i < num; i++) {
|
| @@ -48,7 +48,7 @@ void main() {
|
| }
|
| })
|
| .test('lastChild', () {
|
| - final nodes = document.body.nodes;
|
| + final nodes = document.body.childNodes;
|
| final nl = nodes.length;
|
|
|
| for (int i = 0; i < num; i++) {
|
| @@ -81,7 +81,7 @@ void main() {
|
| })
|
| .test('childNodes', () {
|
| for (int i = 0; i < num; i++) {
|
| - final nodes = document.body.nodes;
|
| + final nodes = document.body.childNodes;
|
| for (int j = 0; j < nodes.length; j++) {
|
| ret = nodes[j];
|
| }
|
|
|