Index: tests/html/js_interop_1_test.dart |
diff --git a/tests/html/js_interop_1_test.dart b/tests/html/js_interop_1_test.dart |
index 3bf095174740239a91dc491a6f9821586840b0ca..74399923217b46d09a6121e1a3c9d7a4ab0616da 100644 |
--- a/tests/html/js_interop_1_test.dart |
+++ b/tests/html/js_interop_1_test.dart |
@@ -11,7 +11,7 @@ injectSource(code) { |
final script = new ScriptElement(); |
script.type = 'text/javascript'; |
script.innerHtml = code; |
- document.body.nodes.add(script); |
+ document.body.append(script); |
} |
main() { |