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

Unified Diff: tests/html/native_gc_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/mutationobserver_test.dart ('k') | tests/html/node_bindings_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/html/native_gc_test.dart
diff --git a/tests/html/native_gc_test.dart b/tests/html/native_gc_test.dart
index 8ed06bb02592cd4fe5729b93495f603d6a94bac1..14ad75deed74fbd440c2b339dd3c7a9842b228bd 100644
--- a/tests/html/native_gc_test.dart
+++ b/tests/html/native_gc_test.dart
@@ -38,7 +38,7 @@ main() {
Element testDiv = new DivElement();
testDiv.id = '#TestDiv';
- document.body.nodes.add(testDiv);
+ document.body.append(testDiv);
window.onMessage.listen((e) {
if (e.data == message) testDiv.click();
});
« no previous file with comments | « tests/html/mutationobserver_test.dart ('k') | tests/html/node_bindings_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698