Index: tests/html/window_open_test.dart |
diff --git a/tests/html/window_open_test.dart b/tests/html/window_open_test.dart |
index 23baef4603a7822357de0b07056a1696c4283e0b..0f65ec9598b6cfdc9f759976fc6e14d10e1c55af 100644 |
--- a/tests/html/window_open_test.dart |
+++ b/tests/html/window_open_test.dart |
@@ -9,7 +9,7 @@ main() { |
evaluateJavaScript(code) { |
final scriptTag = new Element.tag('script'); |
scriptTag.innerHtml = code; |
- document.body.nodes.add(scriptTag); |
+ document.body.append(scriptTag); |
} |
evaluateJavaScript('(testRunner || layoutTestController).setCanOpenWindows()'); |