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

Unified Diff: tests/html/exceptions_test.dart

Issue 19820007: Fixes for Blink roll. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Minors fixes Created 7 years, 5 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 | tests/html/worker_test.dart » ('j') | tools/dom/scripts/generator.py » ('J')
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 5521d29d57941b904e30aadb4e6a61afb10ffcb6..b8f26ab8aa3e9886cdd1beb1f6043a5f653b8958 100644
--- a/tests/html/exceptions_test.dart
+++ b/tests/html/exceptions_test.dart
@@ -11,8 +11,8 @@ main() {
// Intentionally do not initialize it!
try {
document.dispatchEvent(event);
- } on EventException catch (e) {
- expect(e.name, DomException.UNSPECIFIED_EVENT_TYPE);
+ } on DomException catch (e) {
+ expect(e.name, DomException.INVALID_STATE);
}
});
}
« no previous file with comments | « no previous file | tests/html/worker_test.dart » ('j') | tools/dom/scripts/generator.py » ('J')

Powered by Google App Engine
This is Rietveld 408576698