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

Unified Diff: tests/html/events_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/event_test.dart ('k') | tests/html/htmlcollection_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/html/events_test.dart
diff --git a/tests/html/events_test.dart b/tests/html/events_test.dart
index 4e22018b58a6e68e40f27bc245738fd1bbd1a7d4..8451c893d6363a04d452f576541e060cb3574ef7 100644
--- a/tests/html/events_test.dart
+++ b/tests/html/events_test.dart
@@ -29,7 +29,7 @@ main() {
test('EventTarget', () {
Element element = new Element.tag('test');
element.id = 'eventtarget';
- window.document.body.nodes.add(element);
+ window.document.body.append(element);
int invocationCounter = 0;
void handler(Event e) {
« no previous file with comments | « tests/html/event_test.dart ('k') | tests/html/htmlcollection_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698