Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(586)

Unified Diff: tests/html/window_open_test.dart

Issue 14883008: use .append instead of .nodes.add (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: revert node_test and element_test Created 7 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tests/html/template_element_test.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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()');
« no previous file with comments | « tests/html/template_element_test.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698