| Index: tests/dom/exceptions_test.dart
|
| diff --git a/tests/dom/exceptions_test.dart b/tests/dom/exceptions_test.dart
|
| deleted file mode 100644
|
| index b36890db195e6a5a35372e0417249ae7680e8402..0000000000000000000000000000000000000000
|
| --- a/tests/dom/exceptions_test.dart
|
| +++ /dev/null
|
| @@ -1,28 +0,0 @@
|
| -#library('ExceptionsTest');
|
| -#import('../../lib/unittest/unittest.dart');
|
| -#import('../../lib/unittest/html_config.dart');
|
| -#import('dart:html');
|
| -
|
| -main() {
|
| - useHtmlConfiguration();
|
| - test('DOMException', () {
|
| - try {
|
| - window.webkitNotifications.createNotification('', '', '');
|
| - } catch (DOMException e) {
|
| - Expect.equals(DOMException.SECURITY_ERR, e.code);
|
| - Expect.equals('SECURITY_ERR', e.name);
|
| - Expect.equals('SECURITY_ERR: DOM Exception 18', e.message);
|
| - }
|
| - });
|
| - test('EventException', () {
|
| - final event = new Event('Event');
|
| - // Intentionally do not initialize it!
|
| - try {
|
| - document.$dom_dispatchEvent(event);
|
| - } catch (EventException e) {
|
| - Expect.equals(EventException.UNSPECIFIED_EVENT_TYPE_ERR, e.code);
|
| - Expect.equals('UNSPECIFIED_EVENT_TYPE_ERR', e.name);
|
| - Expect.equals('UNSPECIFIED_EVENT_TYPE_ERR: DOM Events Exception 0', e.message);
|
| - }
|
| - });
|
| -}
|
|
|