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

Unified Diff: tests/html/exceptions_test.dart

Issue 12047054: Deprecating old DOM event APIs. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 11 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 | « sdk/lib/web_audio/dartium/web_audio_dartium.dart ('k') | tests/html/streams_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/html/exceptions_test.dart
diff --git a/tests/html/exceptions_test.dart b/tests/html/exceptions_test.dart
index e4bbe6b0b4865f5f0ab8fbe86ac7191d7356df01..5521d29d57941b904e30aadb4e6a61afb10ffcb6 100644
--- a/tests/html/exceptions_test.dart
+++ b/tests/html/exceptions_test.dart
@@ -10,7 +10,7 @@ main() {
final event = new Event('Event');
// Intentionally do not initialize it!
try {
- document.$dom_dispatchEvent(event);
+ document.dispatchEvent(event);
} on EventException catch (e) {
expect(e.name, DomException.UNSPECIFIED_EVENT_TYPE);
}
« no previous file with comments | « sdk/lib/web_audio/dartium/web_audio_dartium.dart ('k') | tests/html/streams_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698