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

Unified Diff: tests/html/js_interop_3_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/js_interop_2_test.dart ('k') | tests/html/mutationobserver_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 = """
« no previous file with comments | « tests/html/js_interop_2_test.dart ('k') | tests/html/mutationobserver_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698