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

Side by Side Diff: sdk/lib/html/dart2js/html_dart2js.dart

Issue 11983004: Regenerate libs for case sensitive file systems. (Why is mac case (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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | sdk/lib/html/dartium/html_dartium.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 library html; 1 library html;
2 2
3 import 'dart:async'; 3 import 'dart:async';
4 import 'dart:collection'; 4 import 'dart:collection';
5 import 'dart:html_common'; 5 import 'dart:html_common';
6 import 'dart:indexed_db'; 6 import 'dart:indexed_db';
7 import 'dart:isolate'; 7 import 'dart:isolate';
8 import 'dart:json' as json; 8 import 'dart:json' as json;
9 import 'dart:math'; 9 import 'dart:math';
10 import 'dart:svg' as svg; 10 import 'dart:svg' as svg;
(...skipping 6523 matching lines...) Expand 10 before | Expand all | Expand 10 after
6534 6534
6535 6535
6536 6536
6537 @DocsEditable 6537 @DocsEditable
6538 @DomName('DOMError') 6538 @DomName('DOMError')
6539 class DomError native "*DOMError" { 6539 class DomError native "*DOMError" {
6540 6540
6541 @DocsEditable @DomName('DOMError.name') 6541 @DocsEditable @DomName('DOMError.name')
6542 final String name; 6542 final String name;
6543 } 6543 }
6544 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 6544 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file
6545 // for details. All rights reserved. Use of this source code is governed by a 6545 // for details. All rights reserved. Use of this source code is governed by a
6546 // BSD-style license that can be found in the LICENSE file. 6546 // BSD-style license that can be found in the LICENSE file.
6547 6547
6548 6548
6549 /// @domName DOMException
6550 class DomException native "*DOMException" {
6549 6551
6550 @DocsEditable 6552 static const String INDEX_SIZE = 'IndexSizeError';
6551 @DomName('DOMException') 6553 static const String HIERARCHY_REQUEST = 'HierarchyRequestError';
6552 class DomException native "*DOMException" { 6554 static const String WRONG_DOCUMENT = 'WrongDocumentError';
6555 static const String INVALID_CHARACTER = 'InvalidCharacterError';
6556 static const String NO_MODIFICATION_ALLOWED = 'NoModificationAllowedError';
6557 static const String NOT_FOUND = 'NotFoundError';
6558 static const String NOT_SUPPORTED = 'NotSupportedError';
6559 static const String INVALID_STATE = 'InvalidStateError';
6560 static const String SYNTAX = 'SyntaxError';
6561 static const String INVALID_MODIFICATION = 'InvalidModificationError';
6562 static const String NAMESPACE = 'NamespaceError';
6563 static const String INVALID_ACCESS = 'InvalidAccessError';
6564 static const String TYPE_MISMATCH = 'TypeMismatchError';
6565 static const String SECURITY = 'SecurityError';
6566 static const String NETWORK = 'NetworkError';
6567 static const String ABORT = 'AbortError';
6568 static const String URL_MISMATCH = 'URLMismatchError';
6569 static const String QUOTA_EXCEEDED = 'QuotaExceededError';
6570 static const String TIMEOUT = 'TimeoutError';
6571 static const String INVALID_NODE_TYPE = 'InvalidNodeTypeError';
6572 static const String DATA_CLONE = 'DataCloneError';
6573
6574 String get name {
6575 var errorName = JS('String', '#.name', this);
6576 // Although Safari nightly has updated the name to SecurityError, Safari 5
6577 // and 6 still return SECURITY_ERR.
6578 if (_Device.isWebKit && errorName == 'SECURITY_ERR') return 'SecurityError';
6579 // Chrome release still uses old string, remove this line when Chrome stable
6580 // also prints out SyntaxError.
6581 if (_Device.isWebKit && errorName == 'SYNTAX_ERR') return 'SyntaxError';
6582 return errorName;
6583 }
6553 6584
6554 @DocsEditable @DomName('DOMCoreException.message') 6585 @DocsEditable @DomName('DOMCoreException.message')
6555 final String message; 6586 final String message;
6556 6587
6557 @DocsEditable @DomName('DOMCoreException.toString') 6588 @DocsEditable @DomName('DOMCoreException.toString')
6558 String toString() native; 6589 String toString() native;
6590
6559 } 6591 }
6560 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 6592 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
6561 // for details. All rights reserved. Use of this source code is governed by a 6593 // for details. All rights reserved. Use of this source code is governed by a
6562 // BSD-style license that can be found in the LICENSE file. 6594 // BSD-style license that can be found in the LICENSE file.
6563 6595
6564 6596
6565 6597
6566 @DocsEditable 6598 @DocsEditable
6567 @DomName('DOMImplementation') 6599 @DomName('DOMImplementation')
6568 class DomImplementation native "*DOMImplementation" { 6600 class DomImplementation native "*DOMImplementation" {
(...skipping 22176 matching lines...) Expand 10 before | Expand all | Expand 10 after
28745 _position = nextPosition; 28777 _position = nextPosition;
28746 return true; 28778 return true;
28747 } 28779 }
28748 _current = null; 28780 _current = null;
28749 _position = _array.length; 28781 _position = _array.length;
28750 return false; 28782 return false;
28751 } 28783 }
28752 28784
28753 T get current => _current; 28785 T get current => _current;
28754 } 28786 }
OLDNEW
« 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