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

Unified Diff: tests/html/event_test.dart

Issue 10912082: Adding test for DOM Subtree Modified event. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Merging latest. Created 8 years, 3 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/html/event_test.dart
diff --git a/tests/html/event_test.dart b/tests/html/event_test.dart
index d3e759aa187a9ae866a65794c25de3406d2cd0ac..370ced2084b95e41c9e27bc33e3f4b1294be71bd 100644
--- a/tests/html/event_test.dart
+++ b/tests/html/event_test.dart
@@ -140,6 +140,12 @@ main() {
Expect.equals(MutationEvent.MODIFICATION, ev.attrChange);
});
+ test('DOMMutationEvent', () {
+ var div = new DivElement();
+ div.on['DOMSubtreeModified'].add(expectAsync1((DOMMutationEvent e) {}));
+ div.nodes.add(new SpanElement());
+ });
+
// Issue 1005.
// eventTest('OverflowEvent',
// () => new OverflowEvent(OverflowEvent.BOTH, true, true),
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698