Index: LayoutTests/dart/dom/Exceptions.dart |
diff --git a/LayoutTests/dart/dom/Exceptions.dart b/LayoutTests/dart/dom/Exceptions.dart |
deleted file mode 100644 |
index cf786c5b295e16d116a0986c2eb03d900a0fdef1..0000000000000000000000000000000000000000 |
--- a/LayoutTests/dart/dom/Exceptions.dart |
+++ /dev/null |
@@ -1,26 +0,0 @@ |
-#import('../../../../../dart/client/testing/unittest/unittest.dart'); |
-#import('dart:dom'); |
- |
-main() { |
- forLayoutTests(); |
- 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 = window.document.createEvent('Event'); |
- // Intentionally do not initialize it! |
- try { |
- window.document.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); |
- } |
- }); |
-} |