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

Unified Diff: tests/html/exceptions_test.dart

Issue 11800002: "Reverting 16675-16676, 71-73" (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 12 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/co19/test_config.dart ('k') | tests/html/form_data_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 01fcd7c078a930565c0fc523bcd53a8d602fd7a4..388835fc354601e491ef6ad2116b2c18931ece91 100644
--- a/tests/html/exceptions_test.dart
+++ b/tests/html/exceptions_test.dart
@@ -10,8 +10,8 @@ main() {
window.webkitNotifications.createNotification('', '', '');
} on DomException catch (e) {
expect(e.code, DomException.SECURITY_ERR);
- expect(e.name, 'SecurityError');
- expect(e.message, 'SecurityError: DOM Exception 18');
+ expect(e.name, 'SECURITY_ERR');
+ expect(e.message, 'SECURITY_ERR: DOM Exception 18');
}
});
test('EventException', () {
« no previous file with comments | « tests/co19/test_config.dart ('k') | tests/html/form_data_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698