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

Unified Diff: tests/html/mutationobserver_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_3_test.dart ('k') | tests/html/native_gc_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/html/mutationobserver_test.dart
diff --git a/tests/html/mutationobserver_test.dart b/tests/html/mutationobserver_test.dart
index 9710310fc239c4861e320806315a29d657c7eb01..f73f2a5bdea9293ac14074c02898b6f52cf5151c 100644
--- a/tests/html/mutationobserver_test.dart
+++ b/tests/html/mutationobserver_test.dart
@@ -67,8 +67,8 @@ main() {
mutationCallback(2, orderedEquals([div1, div2])));
mutationObserver.observe(container, childList: true);
- container.nodes.add(div1);
- container.nodes.add(div2);
+ container.append(div1);
+ container.append(div2);
}, expectation);
});
@@ -81,8 +81,8 @@ main() {
new MutationObserver(mutationCallback(1, orderedEquals([div1])));
mutationObserver.observe(container, childList: true);
- container.nodes.add(div1);
- div1.nodes.add(div2);
+ container.append(div1);
+ div1.append(div2);
}, expectation);
});
@@ -95,8 +95,8 @@ main() {
mutationCallback(2, orderedEquals([div1, div2])));
mutationObserver.observe(container, childList: true, subtree: true);
- container.nodes.add(div1);
- div1.nodes.add(div2);
+ container.append(div1);
+ div1.append(div2);
}, expectation);
});
« no previous file with comments | « tests/html/js_interop_3_test.dart ('k') | tests/html/native_gc_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698