Index: tests/html/js_interop_3_test.dart |
diff --git a/tests/html/js_interop_3_test.dart b/tests/html/js_interop_3_test.dart |
index 390c687a9b5c54ac3c63e6797dff517bfa3af070..4871b96d321c5736ff11b233ee3e4c91dfb897da 100644 |
--- a/tests/html/js_interop_3_test.dart |
+++ b/tests/html/js_interop_3_test.dart |
@@ -13,7 +13,7 @@ injectSource(code) { |
final script = new ScriptElement(); |
script.type = 'text/javascript'; |
script.innerHtml = code; |
- document.body.nodes.add(script); |
+ document.body.append(script); |
} |
var jsToDart = """ |