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

Unified Diff: LayoutTests/dart/dom/Exceptions.dart

Issue 9188009: Things to unfork. (Closed) Base URL: svn://svn.chromium.org/multivm/trunk/webkit
Patch Set: Created 8 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 | « LayoutTests/dart/dom/Events-expected.txt ('k') | LayoutTests/dart/dom/Exceptions.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
- }
- });
-}
« no previous file with comments | « LayoutTests/dart/dom/Events-expected.txt ('k') | LayoutTests/dart/dom/Exceptions.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698