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

Unified Diff: sdk/lib/html/dart2js/html_dart2js.dart

Issue 11946016: Regenerate libs. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 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 | « no previous file | sdk/lib/html/dartium/html_dartium.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/html/dart2js/html_dart2js.dart
diff --git a/sdk/lib/html/dart2js/html_dart2js.dart b/sdk/lib/html/dart2js/html_dart2js.dart
index abfabe4b194d24a58449a14b2a3c8a859830031c..6f14b370e6f1de95970c694a81e34d98dbb64246 100644
--- a/sdk/lib/html/dart2js/html_dart2js.dart
+++ b/sdk/lib/html/dart2js/html_dart2js.dart
@@ -6456,53 +6456,19 @@ class DomError native "*DOMError" {
/// @domName DOMError.name; @docsEditable true
final String name;
}
-// Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file
+// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
-/// @domName DOMException
+/// @domName DOMException; @docsEditable true
class DomException native "*DOMException" {
- static const String INDEX_SIZE = 'IndexSizeError';
- static const String HIERARCHY_REQUEST = 'HierarchyRequestError';
- static const String WRONG_DOCUMENT = 'WrongDocumentError';
- static const String INVALID_CHARACTER = 'InvalidCharacterError';
- static const String NO_MODIFICATION_ALLOWED = 'NoModificationAllowedError';
- static const String NOT_FOUND = 'NotFoundError';
- static const String NOT_SUPPORTED = 'NotSupportedError';
- static const String INVALID_STATE = 'InvalidStateError';
- static const String SYNTAX = 'SyntaxError';
- static const String INVALID_MODIFICATION = 'InvalidModificationError';
- static const String NAMESPACE = 'NamespaceError';
- static const String INVALID_ACCESS = 'InvalidAccessError';
- static const String TYPE_MISMATCH = 'TypeMismatchError';
- static const String SECURITY = 'SecurityError';
- static const String NETWORK = 'NetworkError';
- static const String ABORT = 'AbortError';
- static const String URL_MISMATCH = 'URLMismatchError';
- static const String QUOTA_EXCEEDED = 'QuotaExceededError';
- static const String TIMEOUT = 'TimeoutError';
- static const String INVALID_NODE_TYPE = 'InvalidNodeTypeError';
- static const String DATA_CLONE = 'DataCloneError';
-
- String get name {
- var errorName = JS('String', '#.name', this);
- // Although Safari nightly has updated the name to SecurityError, Safari 5
- // and 6 still return SECURITY_ERR.
- if (_Device.isWebKit && errorName == 'SECURITY_ERR') return 'SecurityError';
- // Chrome release still uses old string, remove this line when Chrome stable
- // also prints out SyntaxError.
- if (_Device.isWebKit && errorName == 'SYNTAX_ERR') return 'SyntaxError';
- return errorName;
- }
-
/// @domName DOMException.message; @docsEditable true
final String message;
/// @domName DOMException.toString; @docsEditable true
String toString() native;
-
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
« no previous file with comments | « no previous file | sdk/lib/html/dartium/html_dartium.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698