Index: tests/html/js_interop_2_test.dart |
diff --git a/tests/html/js_interop_2_test.dart b/tests/html/js_interop_2_test.dart |
index 46a44debbcc9380e250b7ae3f2c3422a26665cae..96e6a403715d6c2e4824322ceeb8aeb3f0d74e74 100644 |
--- a/tests/html/js_interop_2_test.dart |
+++ b/tests/html/js_interop_2_test.dart |
@@ -12,7 +12,7 @@ injectSource(code) { |
final script = new ScriptElement(); |
script.type = 'text/javascript'; |
script.innerHtml = code; |
- document.body.nodes.add(script); |
+ document.body.append(script); |
} |
var isolateTest = """ |