Index: tests/html/cross_frame_test.dart |
diff --git a/tests/html/cross_frame_test.dart b/tests/html/cross_frame_test.dart |
index dd5b4bef1b316990a343683ede8536bfb70ec118..cc852f8831db17248236590292d2df2caa3d2469 100644 |
--- a/tests/html/cross_frame_test.dart |
+++ b/tests/html/cross_frame_test.dart |
@@ -15,7 +15,7 @@ main() { |
var isHistory = predicate((x) => x is History, 'is a History'); |
final iframe = new Element.tag('iframe'); |
- document.body.nodes.add(iframe); |
+ document.body.append(iframe); |
test('window', () { |
expect(window, isWindow); |