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

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

Issue 14237005: Fix indexdb regression under optimization (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 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
« no previous file with comments | « no previous file | tools/dom/templates/html/impl/impl_Window.darttemplate » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /// The Dart HTML library. 1 /// The Dart HTML library.
2 library dart.dom.html; 2 library dart.dom.html;
3 3
4 import 'dart:async'; 4 import 'dart:async';
5 import 'dart:collection'; 5 import 'dart:collection';
6 import 'dart:_collection-dev'; 6 import 'dart:_collection-dev';
7 import 'dart:html_common'; 7 import 'dart:html_common';
8 import 'dart:indexed_db'; 8 import 'dart:indexed_db';
9 import 'dart:isolate'; 9 import 'dart:isolate';
10 import 'dart:json' as json; 10 import 'dart:json' as json;
(...skipping 22593 matching lines...) Expand 10 before | Expand all | Expand 10 after
22604 * Gets an instance of the Indexed DB factory to being using Indexed DB. 22604 * Gets an instance of the Indexed DB factory to being using Indexed DB.
22605 * 22605 *
22606 * Use [IdbFactory.supported] to check if Indexed DB is supported on the 22606 * Use [IdbFactory.supported] to check if Indexed DB is supported on the
22607 * current platform. 22607 * current platform.
22608 */ 22608 */
22609 @SupportedBrowser(SupportedBrowser.CHROME, '23.0') 22609 @SupportedBrowser(SupportedBrowser.CHROME, '23.0')
22610 @SupportedBrowser(SupportedBrowser.FIREFOX, '15.0') 22610 @SupportedBrowser(SupportedBrowser.FIREFOX, '15.0')
22611 @SupportedBrowser(SupportedBrowser.IE, '10.0') 22611 @SupportedBrowser(SupportedBrowser.IE, '10.0')
22612 @Experimental 22612 @Experimental
22613 IdbFactory get indexedDB => 22613 IdbFactory get indexedDB =>
22614 JS('IdbFactory', 22614 JS('IdbFactory|Null',
22615 '#.indexedDB || #.webkitIndexedDB || #.mozIndexedDB', 22615 '#.indexedDB || #.webkitIndexedDB || #.mozIndexedDB',
22616 this, this, this); 22616 this, this, this);
22617 22617
22618 @DomName('Window.console') 22618 @DomName('Window.console')
22619 Console get console => Console.safeConsole; 22619 Console get console => Console.safeConsole;
22620 22620
22621 /// Checks if _setImmediate is supported. 22621 /// Checks if _setImmediate is supported.
22622 static bool get _supportsSetImmediate => 22622 static bool get _supportsSetImmediate =>
22623 JS('bool', '!!(window.setImmediate)'); 22623 JS('bool', '!!(window.setImmediate)');
22624 22624
(...skipping 7284 matching lines...) Expand 10 before | Expand all | Expand 10 after
29909 _position = nextPosition; 29909 _position = nextPosition;
29910 return true; 29910 return true;
29911 } 29911 }
29912 _current = null; 29912 _current = null;
29913 _position = _array.length; 29913 _position = _array.length;
29914 return false; 29914 return false;
29915 } 29915 }
29916 29916
29917 T get current => _current; 29917 T get current => _current;
29918 } 29918 }
OLDNEW
« no previous file with comments | « no previous file | tools/dom/templates/html/impl/impl_Window.darttemplate » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698