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

Side by Side Diff: tools/dom/templates/html/impl/impl_DOMException.darttemplate

Issue 254463006: This CL contains all of the changes for splitting off all of the native (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 8 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 part of $LIBRARYNAME; 5 part of $LIBRARYNAME;
6 6
7 $!TOPLEVEL
8
7 $(ANNOTATIONS)$(CLASS_MODIFIERS)class $CLASSNAME$EXTENDS$IMPLEMENTS$NATIVESPEC { 9 $(ANNOTATIONS)$(CLASS_MODIFIERS)class $CLASSNAME$EXTENDS$IMPLEMENTS$NATIVESPEC {
8 10
9 static const String INDEX_SIZE = 'IndexSizeError'; 11 static const String INDEX_SIZE = 'IndexSizeError';
10 static const String HIERARCHY_REQUEST = 'HierarchyRequestError'; 12 static const String HIERARCHY_REQUEST = 'HierarchyRequestError';
11 static const String WRONG_DOCUMENT = 'WrongDocumentError'; 13 static const String WRONG_DOCUMENT = 'WrongDocumentError';
12 static const String INVALID_CHARACTER = 'InvalidCharacterError'; 14 static const String INVALID_CHARACTER = 'InvalidCharacterError';
13 static const String NO_MODIFICATION_ALLOWED = 'NoModificationAllowedError'; 15 static const String NO_MODIFICATION_ALLOWED = 'NoModificationAllowedError';
14 static const String NOT_FOUND = 'NotFoundError'; 16 static const String NOT_FOUND = 'NotFoundError';
15 static const String NOT_SUPPORTED = 'NotSupportedError'; 17 static const String NOT_SUPPORTED = 'NotSupportedError';
16 static const String INVALID_STATE = 'InvalidStateError'; 18 static const String INVALID_STATE = 'InvalidStateError';
(...skipping 18 matching lines...) Expand all
35 // and 6 still return SECURITY_ERR. 37 // and 6 still return SECURITY_ERR.
36 if (Device.isWebKit && errorName == 'SECURITY_ERR') return 'SecurityError'; 38 if (Device.isWebKit && errorName == 'SECURITY_ERR') return 'SecurityError';
37 // Chrome release still uses old string, remove this line when Chrome stable 39 // Chrome release still uses old string, remove this line when Chrome stable
38 // also prints out SyntaxError. 40 // also prints out SyntaxError.
39 if (Device.isWebKit && errorName == 'SYNTAX_ERR') return 'SyntaxError'; 41 if (Device.isWebKit && errorName == 'SYNTAX_ERR') return 'SyntaxError';
40 return errorName; 42 return errorName;
41 } 43 }
42 $endif 44 $endif
43 $!MEMBERS 45 $!MEMBERS
44 } 46 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698